import "github.com/chromedp/cdproto/webaudio"
Package webaudio provides the Chrome DevTools Protocol commands, types, and events for the WebAudio domain.
This domain allows inspection of Web Audio API. https://webaudio.github.io/web-audio-api/.
Generated by the cdproto-gen command.
easyjson.go events.go types.go webaudio.go
const ( CommandEnable = "WebAudio.enable" CommandDisable = "WebAudio.disable" CommandGetRealtimeData = "WebAudio.getRealtimeData" )
Command names.
type AudioListener struct { ListenerID GraphObjectID `json:"listenerId"` ContextID GraphObjectID `json:"contextId"` }
AudioListener protocol object for AudioListener.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#type-AudioListener
func (v AudioListener) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (v AudioListener) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (v *AudioListener) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *AudioListener) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type AudioNode struct { NodeID GraphObjectID `json:"nodeId"` ContextID GraphObjectID `json:"contextId"` NodeType cdp.NodeType `json:"nodeType"` NumberOfInputs float64 `json:"numberOfInputs"` NumberOfOutputs float64 `json:"numberOfOutputs"` ChannelCount float64 `json:"channelCount"` ChannelCountMode ChannelCountMode `json:"channelCountMode"` ChannelInterpretation ChannelInterpretation `json:"channelInterpretation"` }
AudioNode protocol object for AudioNode.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#type-AudioNode
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
type AudioParam struct { ParamID GraphObjectID `json:"paramId"` NodeID GraphObjectID `json:"nodeId"` ContextID GraphObjectID `json:"contextId"` ParamType ParamType `json:"paramType"` Rate AutomationRate `json:"rate"` DefaultValue float64 `json:"defaultValue"` MinValue float64 `json:"minValue"` MaxValue float64 `json:"maxValue"` }
AudioParam protocol object for AudioParam.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#type-AudioParam
func (v AudioParam) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (v AudioParam) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (v *AudioParam) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *AudioParam) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
AutomationRate enum of AudioParam::AutomationRate from the spec.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#type-AutomationRate
const ( AutomationRateARate AutomationRate = "a-rate" AutomationRateKRate AutomationRate = "k-rate" )
AutomationRate values.
func (t AutomationRate) MarshalEasyJSON(out *jwriter.Writer)
MarshalEasyJSON satisfies easyjson.Marshaler.
func (t AutomationRate) MarshalJSON() ([]byte, error)
MarshalJSON satisfies json.Marshaler.
func (t AutomationRate) String() string
String returns the AutomationRate as string value.
func (t *AutomationRate) UnmarshalEasyJSON(in *jlexer.Lexer)
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
func (t *AutomationRate) UnmarshalJSON(buf []byte) error
UnmarshalJSON satisfies json.Unmarshaler.
type BaseAudioContext struct { ContextID GraphObjectID `json:"contextId"` ContextType ContextType `json:"contextType"` ContextState ContextState `json:"contextState"` RealtimeData *ContextRealtimeData `json:"realtimeData,omitempty"` CallbackBufferSize float64 `json:"callbackBufferSize"` // Platform-dependent callback buffer size. MaxOutputChannelCount float64 `json:"maxOutputChannelCount"` // Number of output channels supported by audio hardware in use. SampleRate float64 `json:"sampleRate"` // Context sample rate. }
BaseAudioContext protocol object for BaseAudioContext.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#type-BaseAudioContext
func (v BaseAudioContext) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (v BaseAudioContext) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (v *BaseAudioContext) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *BaseAudioContext) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
ChannelCountMode enum of AudioNode::ChannelCountMode from the spec.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#type-ChannelCountMode
const ( ChannelCountModeClampedMax ChannelCountMode = "clamped-max" ChannelCountModeExplicit ChannelCountMode = "explicit" ChannelCountModeMax ChannelCountMode = "max" )
ChannelCountMode values.
func (t ChannelCountMode) MarshalEasyJSON(out *jwriter.Writer)
MarshalEasyJSON satisfies easyjson.Marshaler.
func (t ChannelCountMode) MarshalJSON() ([]byte, error)
MarshalJSON satisfies json.Marshaler.
func (t ChannelCountMode) String() string
String returns the ChannelCountMode as string value.
func (t *ChannelCountMode) UnmarshalEasyJSON(in *jlexer.Lexer)
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
func (t *ChannelCountMode) UnmarshalJSON(buf []byte) error
UnmarshalJSON satisfies json.Unmarshaler.
ChannelInterpretation enum of AudioNode::ChannelInterpretation from the spec.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#type-ChannelInterpretation
const ( ChannelInterpretationDiscrete ChannelInterpretation = "discrete" ChannelInterpretationSpeakers ChannelInterpretation = "speakers" )
ChannelInterpretation values.
func (t ChannelInterpretation) MarshalEasyJSON(out *jwriter.Writer)
MarshalEasyJSON satisfies easyjson.Marshaler.
func (t ChannelInterpretation) MarshalJSON() ([]byte, error)
MarshalJSON satisfies json.Marshaler.
func (t ChannelInterpretation) String() string
String returns the ChannelInterpretation as string value.
func (t *ChannelInterpretation) UnmarshalEasyJSON(in *jlexer.Lexer)
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
func (t *ChannelInterpretation) UnmarshalJSON(buf []byte) error
UnmarshalJSON satisfies json.Unmarshaler.
type ContextRealtimeData struct { CurrentTime float64 `json:"currentTime"` // The current context time in second in BaseAudioContext. RenderCapacity float64 `json:"renderCapacity"` // The time spent on rendering graph divided by render quantum duration, and multiplied by 100. 100 means the audio renderer reached the full capacity and glitch may occur. CallbackIntervalMean float64 `json:"callbackIntervalMean"` // A running mean of callback interval. CallbackIntervalVariance float64 `json:"callbackIntervalVariance"` // A running variance of callback interval. }
ContextRealtimeData fields in AudioContext that change in real-time.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#type-ContextRealtimeData
func (v ContextRealtimeData) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (v ContextRealtimeData) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (v *ContextRealtimeData) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *ContextRealtimeData) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
ContextState enum of AudioContextState from the spec.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#type-ContextState
const ( ContextStateSuspended ContextState = "suspended" ContextStateRunning ContextState = "running" ContextStateClosed ContextState = "closed" )
ContextState values.
func (t ContextState) MarshalEasyJSON(out *jwriter.Writer)
MarshalEasyJSON satisfies easyjson.Marshaler.
func (t ContextState) MarshalJSON() ([]byte, error)
MarshalJSON satisfies json.Marshaler.
func (t ContextState) String() string
String returns the ContextState as string value.
func (t *ContextState) UnmarshalEasyJSON(in *jlexer.Lexer)
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
func (t *ContextState) UnmarshalJSON(buf []byte) error
UnmarshalJSON satisfies json.Unmarshaler.
ContextType enum of BaseAudioContext types.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#type-ContextType
const ( ContextTypeRealtime ContextType = "realtime" ContextTypeOffline ContextType = "offline" )
ContextType values.
func (t ContextType) MarshalEasyJSON(out *jwriter.Writer)
MarshalEasyJSON satisfies easyjson.Marshaler.
func (t ContextType) MarshalJSON() ([]byte, error)
MarshalJSON satisfies json.Marshaler.
func (t ContextType) String() string
String returns the ContextType as string value.
func (t *ContextType) UnmarshalEasyJSON(in *jlexer.Lexer)
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
func (t *ContextType) UnmarshalJSON(buf []byte) error
UnmarshalJSON satisfies json.Unmarshaler.
type DisableParams struct{}
DisableParams disables the WebAudio domain.
func Disable() *DisableParams
Disable disables the WebAudio domain.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#method-disable
func (p *DisableParams) Do(ctx context.Context) (err error)
Do executes WebAudio.disable against the provided context.
func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (v DisableParams) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *DisableParams) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type EnableParams struct{}
EnableParams enables the WebAudio domain and starts sending context lifetime events.
func Enable() *EnableParams
Enable enables the WebAudio domain and starts sending context lifetime events.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#method-enable
func (p *EnableParams) Do(ctx context.Context) (err error)
Do executes WebAudio.enable against the provided context.
func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (v EnableParams) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EnableParams) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type EventAudioListenerCreated struct { Listener *AudioListener `json:"listener"` }
EventAudioListenerCreated notifies that the construction of an AudioListener has finished.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#event-audioListenerCreated
func (v EventAudioListenerCreated) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventAudioListenerCreated) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (v *EventAudioListenerCreated) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventAudioListenerCreated) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type EventAudioListenerWillBeDestroyed struct { ContextID GraphObjectID `json:"contextId"` ListenerID GraphObjectID `json:"listenerId"` }
EventAudioListenerWillBeDestroyed notifies that a new AudioListener has been created.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#event-audioListenerWillBeDestroyed
func (v EventAudioListenerWillBeDestroyed) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventAudioListenerWillBeDestroyed) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (v *EventAudioListenerWillBeDestroyed) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventAudioListenerWillBeDestroyed) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
EventAudioNodeCreated notifies that a new AudioNode has been created.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#event-audioNodeCreated
func (v EventAudioNodeCreated) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventAudioNodeCreated) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (v *EventAudioNodeCreated) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventAudioNodeCreated) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type EventAudioNodeWillBeDestroyed struct { ContextID GraphObjectID `json:"contextId"` NodeID GraphObjectID `json:"nodeId"` }
EventAudioNodeWillBeDestroyed notifies that an existing AudioNode has been destroyed.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#event-audioNodeWillBeDestroyed
func (v EventAudioNodeWillBeDestroyed) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventAudioNodeWillBeDestroyed) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (v *EventAudioNodeWillBeDestroyed) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventAudioNodeWillBeDestroyed) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type EventAudioParamCreated struct { Param *AudioParam `json:"param"` }
EventAudioParamCreated notifies that a new AudioParam has been created.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#event-audioParamCreated
func (v EventAudioParamCreated) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventAudioParamCreated) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (v *EventAudioParamCreated) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventAudioParamCreated) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type EventAudioParamWillBeDestroyed struct { ContextID GraphObjectID `json:"contextId"` NodeID GraphObjectID `json:"nodeId"` ParamID GraphObjectID `json:"paramId"` }
EventAudioParamWillBeDestroyed notifies that an existing AudioParam has been destroyed.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#event-audioParamWillBeDestroyed
func (v EventAudioParamWillBeDestroyed) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventAudioParamWillBeDestroyed) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (v *EventAudioParamWillBeDestroyed) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventAudioParamWillBeDestroyed) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type EventContextChanged struct { Context *BaseAudioContext `json:"context"` }
EventContextChanged notifies that existing BaseAudioContext has changed some properties (id stays the same)..
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#event-contextChanged
func (v EventContextChanged) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventContextChanged) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (v *EventContextChanged) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventContextChanged) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type EventContextCreated struct { Context *BaseAudioContext `json:"context"` }
EventContextCreated notifies that a new BaseAudioContext has been created.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#event-contextCreated
func (v EventContextCreated) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventContextCreated) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (v *EventContextCreated) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventContextCreated) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type EventContextWillBeDestroyed struct { ContextID GraphObjectID `json:"contextId"` }
EventContextWillBeDestroyed notifies that an existing BaseAudioContext will be destroyed.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#event-contextWillBeDestroyed
func (v EventContextWillBeDestroyed) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventContextWillBeDestroyed) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (v *EventContextWillBeDestroyed) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventContextWillBeDestroyed) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type EventNodeParamConnected struct { ContextID GraphObjectID `json:"contextId"` SourceID GraphObjectID `json:"sourceId"` DestinationID GraphObjectID `json:"destinationId"` SourceOutputIndex float64 `json:"sourceOutputIndex,omitempty"` }
EventNodeParamConnected notifies that an AudioNode is connected to an AudioParam.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#event-nodeParamConnected
func (v EventNodeParamConnected) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventNodeParamConnected) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (v *EventNodeParamConnected) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventNodeParamConnected) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type EventNodeParamDisconnected struct { ContextID GraphObjectID `json:"contextId"` SourceID GraphObjectID `json:"sourceId"` DestinationID GraphObjectID `json:"destinationId"` SourceOutputIndex float64 `json:"sourceOutputIndex,omitempty"` }
EventNodeParamDisconnected notifies that an AudioNode is disconnected to an AudioParam.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#event-nodeParamDisconnected
func (v EventNodeParamDisconnected) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventNodeParamDisconnected) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (v *EventNodeParamDisconnected) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventNodeParamDisconnected) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type EventNodesConnected struct { ContextID GraphObjectID `json:"contextId"` SourceID GraphObjectID `json:"sourceId"` DestinationID GraphObjectID `json:"destinationId"` SourceOutputIndex float64 `json:"sourceOutputIndex,omitempty"` DestinationInputIndex float64 `json:"destinationInputIndex,omitempty"` }
EventNodesConnected notifies that two AudioNodes are connected.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#event-nodesConnected
func (v EventNodesConnected) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventNodesConnected) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (v *EventNodesConnected) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventNodesConnected) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type EventNodesDisconnected struct { ContextID GraphObjectID `json:"contextId"` SourceID GraphObjectID `json:"sourceId"` DestinationID GraphObjectID `json:"destinationId"` SourceOutputIndex float64 `json:"sourceOutputIndex,omitempty"` DestinationInputIndex float64 `json:"destinationInputIndex,omitempty"` }
EventNodesDisconnected notifies that AudioNodes are disconnected. The destination can be null, and it means all the outgoing connections from the source are disconnected.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#event-nodesDisconnected
func (v EventNodesDisconnected) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventNodesDisconnected) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (v *EventNodesDisconnected) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventNodesDisconnected) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type GetRealtimeDataParams struct { ContextID GraphObjectID `json:"contextId"` }
GetRealtimeDataParams fetch the realtime data from the registered contexts.
func GetRealtimeData(contextID GraphObjectID) *GetRealtimeDataParams
GetRealtimeData fetch the realtime data from the registered contexts.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#method-getRealtimeData
parameters:
contextID
func (p *GetRealtimeDataParams) Do(ctx context.Context) (realtimeData *ContextRealtimeData, err error)
Do executes WebAudio.getRealtimeData against the provided context.
returns:
realtimeData
func (v GetRealtimeDataParams) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (v GetRealtimeDataParams) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (v *GetRealtimeDataParams) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *GetRealtimeDataParams) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type GetRealtimeDataReturns struct { RealtimeData *ContextRealtimeData `json:"realtimeData,omitempty"` }
GetRealtimeDataReturns return values.
func (v GetRealtimeDataReturns) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (v GetRealtimeDataReturns) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (v *GetRealtimeDataReturns) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *GetRealtimeDataReturns) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
GraphObjectID an unique ID for a graph object (AudioContext, AudioNode, AudioParam) in Web Audio API.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#type-GraphObjectId
func (t GraphObjectID) String() string
String returns the GraphObjectID as string value.
NodeType enum of AudioNode types.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#type-NodeType
String returns the NodeType as string value.
ParamType enum of AudioParam types.
See: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio#type-ParamType
String returns the ParamType as string value.
Package webaudio imports 7 packages (graph) and is imported by 2 packages. Updated 2021-01-08. Refresh now. Tools for package owners.