pl.wendigo.chrome.domain.webaudio / WebAudioDomain

WebAudioDomain

class WebAudioDomain (source)

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

Functions

audioListenerCreated

fun audioListenerCreated(): Flowable<AudioListenerCreatedEvent>

Notifies that the construction of an AudioListener has finished.

audioListenerCreatedTimed

fun audioListenerCreatedTimed(): Flowable<Timed<AudioListenerCreatedEvent>>

Notifies that the construction of an AudioListener has finished.

audioListenerWillBeDestroyed

fun audioListenerWillBeDestroyed(): Flowable<AudioListenerWillBeDestroyedEvent>

Notifies that a new AudioListener has been created.

audioListenerWillBeDestroyedTimed

fun audioListenerWillBeDestroyedTimed(): Flowable<Timed<AudioListenerWillBeDestroyedEvent>>

Notifies that a new AudioListener has been created.

audioNodeCreated

fun audioNodeCreated(): Flowable<AudioNodeCreatedEvent>

Notifies that a new AudioNode has been created.

audioNodeCreatedTimed

fun audioNodeCreatedTimed(): Flowable<Timed<AudioNodeCreatedEvent>>

Notifies that a new AudioNode has been created.

audioNodeWillBeDestroyed

fun audioNodeWillBeDestroyed(): Flowable<AudioNodeWillBeDestroyedEvent>

Notifies that an existing AudioNode has been destroyed.

audioNodeWillBeDestroyedTimed

fun audioNodeWillBeDestroyedTimed(): Flowable<Timed<AudioNodeWillBeDestroyedEvent>>

Notifies that an existing AudioNode has been destroyed.

audioParamCreated

fun audioParamCreated(): Flowable<AudioParamCreatedEvent>

Notifies that a new AudioParam has been created.

audioParamCreatedTimed

fun audioParamCreatedTimed(): Flowable<Timed<AudioParamCreatedEvent>>

Notifies that a new AudioParam has been created.

audioParamWillBeDestroyed

fun audioParamWillBeDestroyed(): Flowable<AudioParamWillBeDestroyedEvent>

Notifies that an existing AudioParam has been destroyed.

audioParamWillBeDestroyedTimed

fun audioParamWillBeDestroyedTimed(): Flowable<Timed<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)..

contextChangedTimed

fun contextChangedTimed(): Flowable<Timed<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.

contextCreatedTimed

fun contextCreatedTimed(): Flowable<Timed<ContextCreatedEvent>>

Notifies that a new BaseAudioContext has been created.

contextWillBeDestroyed

fun contextWillBeDestroyed(): Flowable<ContextWillBeDestroyedEvent>

Notifies that an existing BaseAudioContext will be destroyed.

contextWillBeDestroyedTimed

fun contextWillBeDestroyedTimed(): Flowable<Timed<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<ProtocolEvent>

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.

nodeParamConnectedTimed

fun nodeParamConnectedTimed(): Flowable<Timed<NodeParamConnectedEvent>>

Notifies that an AudioNode is connected to an AudioParam.

nodeParamDisconnected

fun nodeParamDisconnected(): Flowable<NodeParamDisconnectedEvent>

Notifies that an AudioNode is disconnected to an AudioParam.

nodeParamDisconnectedTimed

fun nodeParamDisconnectedTimed(): Flowable<Timed<NodeParamDisconnectedEvent>>

Notifies that an AudioNode is disconnected to an AudioParam.

nodesConnected

fun nodesConnected(): Flowable<NodesConnectedEvent>

Notifies that two AudioNodes are connected.

nodesConnectedTimed

fun nodesConnectedTimed(): Flowable<Timed<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.

nodesDisconnectedTimed

fun nodesDisconnectedTimed(): Flowable<Timed<NodesDisconnectedEvent>>

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