Versions in this module Expand all Collapse all v0 v0.1.1 Oct 17, 2019 Changes in this version + const CommandDisable + const CommandEnable + const CommandGetRealtimeData + type AudioListener struct + ContextID GraphObjectID + ListenerID GraphObjectID + func (v *AudioListener) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *AudioListener) UnmarshalJSON(data []byte) error + func (v AudioListener) MarshalEasyJSON(w *jwriter.Writer) + func (v AudioListener) MarshalJSON() ([]byte, error) + type AudioNode struct + ChannelCount float64 + ChannelCountMode ChannelCountMode + ChannelInterpretation ChannelInterpretation + ContextID GraphObjectID + NodeID GraphObjectID + NodeType cdp.NodeType + NumberOfInputs float64 + NumberOfOutputs float64 + func (v *AudioNode) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *AudioNode) UnmarshalJSON(data []byte) error + func (v AudioNode) MarshalEasyJSON(w *jwriter.Writer) + func (v AudioNode) MarshalJSON() ([]byte, error) + type AudioParam struct + ContextID GraphObjectID + DefaultValue float64 + MaxValue float64 + MinValue float64 + NodeID GraphObjectID + ParamID GraphObjectID + ParamType ParamType + Rate AutomationRate + func (v *AudioParam) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *AudioParam) UnmarshalJSON(data []byte) error + func (v AudioParam) MarshalEasyJSON(w *jwriter.Writer) + func (v AudioParam) MarshalJSON() ([]byte, error) + type AutomationRate string + const AutomationRateARate + const AutomationRateKRate + func (t *AutomationRate) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *AutomationRate) UnmarshalJSON(buf []byte) error + func (t AutomationRate) MarshalEasyJSON(out *jwriter.Writer) + func (t AutomationRate) MarshalJSON() ([]byte, error) + func (t AutomationRate) String() string + type BaseAudioContext struct + CallbackBufferSize float64 + ContextID GraphObjectID + ContextState ContextState + ContextType ContextType + MaxOutputChannelCount float64 + RealtimeData *ContextRealtimeData + SampleRate float64 + func (v *BaseAudioContext) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *BaseAudioContext) UnmarshalJSON(data []byte) error + func (v BaseAudioContext) MarshalEasyJSON(w *jwriter.Writer) + func (v BaseAudioContext) MarshalJSON() ([]byte, error) + type ChannelCountMode string + const ChannelCountModeClampedMax + const ChannelCountModeExplicit + const ChannelCountModeMax + func (t *ChannelCountMode) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *ChannelCountMode) UnmarshalJSON(buf []byte) error + func (t ChannelCountMode) MarshalEasyJSON(out *jwriter.Writer) + func (t ChannelCountMode) MarshalJSON() ([]byte, error) + func (t ChannelCountMode) String() string + type ChannelInterpretation string + const ChannelInterpretationDiscrete + const ChannelInterpretationSpeakers + func (t *ChannelInterpretation) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *ChannelInterpretation) UnmarshalJSON(buf []byte) error + func (t ChannelInterpretation) MarshalEasyJSON(out *jwriter.Writer) + func (t ChannelInterpretation) MarshalJSON() ([]byte, error) + func (t ChannelInterpretation) String() string + type ContextRealtimeData struct + CallbackIntervalMean float64 + CallbackIntervalVariance float64 + CurrentTime float64 + RenderCapacity float64 + func (v *ContextRealtimeData) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ContextRealtimeData) UnmarshalJSON(data []byte) error + func (v ContextRealtimeData) MarshalEasyJSON(w *jwriter.Writer) + func (v ContextRealtimeData) MarshalJSON() ([]byte, error) + type ContextState string + const ContextStateClosed + const ContextStateRunning + const ContextStateSuspended + func (t *ContextState) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *ContextState) UnmarshalJSON(buf []byte) error + func (t ContextState) MarshalEasyJSON(out *jwriter.Writer) + func (t ContextState) MarshalJSON() ([]byte, error) + func (t ContextState) String() string + type ContextType string + const ContextTypeOffline + const ContextTypeRealtime + func (t *ContextType) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *ContextType) UnmarshalJSON(buf []byte) error + func (t ContextType) MarshalEasyJSON(out *jwriter.Writer) + func (t ContextType) MarshalJSON() ([]byte, error) + func (t ContextType) String() string + type DisableParams struct + func Disable() *DisableParams + func (p *DisableParams) Do(ctx context.Context) (err error) + func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *DisableParams) UnmarshalJSON(data []byte) error + func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) + func (v DisableParams) MarshalJSON() ([]byte, error) + type EnableParams struct + func Enable() *EnableParams + func (p *EnableParams) Do(ctx context.Context) (err error) + func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EnableParams) UnmarshalJSON(data []byte) error + func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) + func (v EnableParams) MarshalJSON() ([]byte, error) + type EventAudioListenerCreated struct + Listener *AudioListener + func (v *EventAudioListenerCreated) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventAudioListenerCreated) UnmarshalJSON(data []byte) error + func (v EventAudioListenerCreated) MarshalEasyJSON(w *jwriter.Writer) + func (v EventAudioListenerCreated) MarshalJSON() ([]byte, error) + type EventAudioListenerWillBeDestroyed struct + ContextID GraphObjectID + ListenerID GraphObjectID + func (v *EventAudioListenerWillBeDestroyed) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventAudioListenerWillBeDestroyed) UnmarshalJSON(data []byte) error + func (v EventAudioListenerWillBeDestroyed) MarshalEasyJSON(w *jwriter.Writer) + func (v EventAudioListenerWillBeDestroyed) MarshalJSON() ([]byte, error) + type EventAudioNodeCreated struct + Node *AudioNode + func (v *EventAudioNodeCreated) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventAudioNodeCreated) UnmarshalJSON(data []byte) error + func (v EventAudioNodeCreated) MarshalEasyJSON(w *jwriter.Writer) + func (v EventAudioNodeCreated) MarshalJSON() ([]byte, error) + type EventAudioNodeWillBeDestroyed struct + ContextID GraphObjectID + NodeID GraphObjectID + func (v *EventAudioNodeWillBeDestroyed) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventAudioNodeWillBeDestroyed) UnmarshalJSON(data []byte) error + func (v EventAudioNodeWillBeDestroyed) MarshalEasyJSON(w *jwriter.Writer) + func (v EventAudioNodeWillBeDestroyed) MarshalJSON() ([]byte, error) + type EventAudioParamCreated struct + Param *AudioParam + func (v *EventAudioParamCreated) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventAudioParamCreated) UnmarshalJSON(data []byte) error + func (v EventAudioParamCreated) MarshalEasyJSON(w *jwriter.Writer) + func (v EventAudioParamCreated) MarshalJSON() ([]byte, error) + type EventAudioParamWillBeDestroyed struct + ContextID GraphObjectID + NodeID GraphObjectID + ParamID GraphObjectID + func (v *EventAudioParamWillBeDestroyed) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventAudioParamWillBeDestroyed) UnmarshalJSON(data []byte) error + func (v EventAudioParamWillBeDestroyed) MarshalEasyJSON(w *jwriter.Writer) + func (v EventAudioParamWillBeDestroyed) MarshalJSON() ([]byte, error) + type EventContextChanged struct + Context *BaseAudioContext + func (v *EventContextChanged) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventContextChanged) UnmarshalJSON(data []byte) error + func (v EventContextChanged) MarshalEasyJSON(w *jwriter.Writer) + func (v EventContextChanged) MarshalJSON() ([]byte, error) + type EventContextCreated struct + Context *BaseAudioContext + func (v *EventContextCreated) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventContextCreated) UnmarshalJSON(data []byte) error + func (v EventContextCreated) MarshalEasyJSON(w *jwriter.Writer) + func (v EventContextCreated) MarshalJSON() ([]byte, error) + type EventContextWillBeDestroyed struct + ContextID GraphObjectID + func (v *EventContextWillBeDestroyed) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventContextWillBeDestroyed) UnmarshalJSON(data []byte) error + func (v EventContextWillBeDestroyed) MarshalEasyJSON(w *jwriter.Writer) + func (v EventContextWillBeDestroyed) MarshalJSON() ([]byte, error) + type EventNodeParamConnected struct + ContextID GraphObjectID + DestinationID GraphObjectID + SourceID GraphObjectID + SourceOutputIndex float64 + func (v *EventNodeParamConnected) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventNodeParamConnected) UnmarshalJSON(data []byte) error + func (v EventNodeParamConnected) MarshalEasyJSON(w *jwriter.Writer) + func (v EventNodeParamConnected) MarshalJSON() ([]byte, error) + type EventNodeParamDisconnected struct + ContextID GraphObjectID + DestinationID GraphObjectID + SourceID GraphObjectID + SourceOutputIndex float64 + func (v *EventNodeParamDisconnected) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventNodeParamDisconnected) UnmarshalJSON(data []byte) error + func (v EventNodeParamDisconnected) MarshalEasyJSON(w *jwriter.Writer) + func (v EventNodeParamDisconnected) MarshalJSON() ([]byte, error) + type EventNodesConnected struct + ContextID GraphObjectID + DestinationID GraphObjectID + DestinationInputIndex float64 + SourceID GraphObjectID + SourceOutputIndex float64 + func (v *EventNodesConnected) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventNodesConnected) UnmarshalJSON(data []byte) error + func (v EventNodesConnected) MarshalEasyJSON(w *jwriter.Writer) + func (v EventNodesConnected) MarshalJSON() ([]byte, error) + type EventNodesDisconnected struct + ContextID GraphObjectID + DestinationID GraphObjectID + DestinationInputIndex float64 + SourceID GraphObjectID + SourceOutputIndex float64 + func (v *EventNodesDisconnected) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventNodesDisconnected) UnmarshalJSON(data []byte) error + func (v EventNodesDisconnected) MarshalEasyJSON(w *jwriter.Writer) + func (v EventNodesDisconnected) MarshalJSON() ([]byte, error) + type GetRealtimeDataParams struct + ContextID GraphObjectID + func GetRealtimeData(contextID GraphObjectID) *GetRealtimeDataParams + func (p *GetRealtimeDataParams) Do(ctx context.Context) (realtimeData *ContextRealtimeData, err error) + func (v *GetRealtimeDataParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetRealtimeDataParams) UnmarshalJSON(data []byte) error + func (v GetRealtimeDataParams) MarshalEasyJSON(w *jwriter.Writer) + func (v GetRealtimeDataParams) MarshalJSON() ([]byte, error) + type GetRealtimeDataReturns struct + RealtimeData *ContextRealtimeData + func (v *GetRealtimeDataReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetRealtimeDataReturns) UnmarshalJSON(data []byte) error + func (v GetRealtimeDataReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v GetRealtimeDataReturns) MarshalJSON() ([]byte, error) + type GraphObjectID string + func (t GraphObjectID) String() string + type NodeType string + func (t NodeType) String() string + type ParamType string + func (t ParamType) String() string