pl.wendigo.chrome.api.webaudio / WebAudioOperations

WebAudioOperations

class WebAudioOperations (source)

This domain allows inspection of Web Audio API. https://webaudio.github.io/web-audio-api/

This API is marked as experimental in protocol definition and can change in the future.

Link
Protocol WebAudio domain documentation.

Functions

audioListenerCreated

fun audioListenerCreated(): Flowable<AudioListenerCreatedEvent>

Notifies that the construction of an AudioListener has finished.

audioListenerWillBeDestroyed

fun audioListenerWillBeDestroyed(): Flowable<AudioListenerWillBeDestroyedEvent>

Notifies that a new AudioListener has been created.

audioNodeCreated

fun audioNodeCreated(): Flowable<AudioNodeCreatedEvent>

Notifies that a new AudioNode has been created.

audioNodeWillBeDestroyed

fun audioNodeWillBeDestroyed(): Flowable<AudioNodeWillBeDestroyedEvent>

Notifies that an existing AudioNode has been destroyed.

audioParamCreated

fun audioParamCreated(): Flowable<AudioParamCreatedEvent>

Notifies that a new AudioParam has been created.

audioParamWillBeDestroyed

fun audioParamWillBeDestroyed(): Flowable<AudioParamWillBeDestroyedEvent>

Notifies that an existing AudioParam has been destroyed.

contextChanged

fun contextChanged(): Flowable<ContextChangedEvent>

Notifies that existing BaseAudioContext has changed some properties (id stays the same)..

contextCreated

fun contextCreated(): Flowable<ContextCreatedEvent>

Notifies that a new BaseAudioContext has been created.

contextWillBeDestroyed

fun contextWillBeDestroyed(): Flowable<ContextWillBeDestroyedEvent>

Notifies that an existing BaseAudioContext will be destroyed.

disable

fun disable(): Single<ResponseFrame>

Disables the WebAudio domain.

enable

fun enable(): Single<ResponseFrame>

Enables the WebAudio domain and starts sending context lifetime events.

events

fun events(): Flowable<Event>

Returns flowable capturing all WebAudio domains events.

getRealtimeData

fun getRealtimeData(input: GetRealtimeDataRequest): Single<GetRealtimeDataResponse>

Fetch the realtime data from the registered contexts.

nodeParamConnected

fun nodeParamConnected(): Flowable<NodeParamConnectedEvent>

Notifies that an AudioNode is connected to an AudioParam.

nodeParamDisconnected

fun nodeParamDisconnected(): Flowable<NodeParamDisconnectedEvent>

Notifies that an AudioNode is disconnected to an AudioParam.

nodesConnected

fun nodesConnected(): Flowable<NodesConnectedEvent>

Notifies that two AudioNodes are connected.

nodesDisconnected

fun nodesDisconnected(): Flowable<NodesDisconnectedEvent>

Notifies that AudioNodes are disconnected. The destination can be null, and it means all the outgoing connections from the source are disconnected.