NPAPI:AudioControl: Difference between revisions

Clarify the value is a pointer to a bool
(On the mailing list I suggested that if this is needed it can be proposed at a later time)
(Clarify the value is a pointer to a bool)
Line 24: Line 24:
</pre>
</pre>


This NPPVariable, when set via NPN_SetValue, will let the plugin instance signal via a BOOL if the current instance is currently playing audio.
This NPPVariable, when set via NPN_SetValue, will let the plugin instance signal via a pointer to a BOOL if the current instance is currently playing audio.


== Mute/Unmute a plugin instance ==
== Mute/Unmute a plugin instance ==
Line 32: Line 32:
</pre>
</pre>


This NPNVariable, when set via NPP_SetValue, will let the browser notify the plugin that it should mute audio for the current plugin instance.
This NPNVariable, when set via NPP_SetValue, will let the browser notify the plugin that it should mute audio for the current plugin instance. The value will be a pointer to a BOOL.
Confirmed users
336

edits