Versions in this module Expand all Collapse all v1 v1.0.0 Apr 14, 2020 Changes in this version + const CommandWebAudioDisable + const CommandWebAudioEnable + const CommandWebAudioGetRealtimeData + const EventWebAudioAudioListenerCreated + const EventWebAudioAudioListenerWillBeDestroyed + const EventWebAudioAudioNodeCreated + const EventWebAudioAudioNodeWillBeDestroyed + const EventWebAudioAudioParamCreated + const EventWebAudioAudioParamWillBeDestroyed + const EventWebAudioContextChanged + const EventWebAudioContextCreated + const EventWebAudioContextWillBeDestroyed + const EventWebAudioNodeParamConnected + const EventWebAudioNodeParamDisconnected + const EventWebAudioNodesConnected + const EventWebAudioNodesDisconnected + var EventConstants = map[string]Unmarshaler + func GetEventReply(event string) (json.Unmarshaler, bool) + type AudioListener struct + ContextID GraphObjectID + ListenerID GraphObjectID + type AudioListenerCreatedReply struct + Listener AudioListener + func (a *AudioListenerCreatedReply) GetFrameID() string + func (a *AudioListenerCreatedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *AudioListenerCreatedReply) UnmarshalJSON(b []byte) error + type AudioListenerWillBeDestroyedReply struct + ContextID GraphObjectID + ListenerID GraphObjectID + func (a *AudioListenerWillBeDestroyedReply) GetFrameID() string + func (a *AudioListenerWillBeDestroyedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *AudioListenerWillBeDestroyedReply) UnmarshalJSON(b []byte) error + type AudioNode struct + ChannelCount float64 + ChannelCountMode ChannelCountMode + ChannelInterpretation ChannelInterpretation + ContextID GraphObjectID + NodeID GraphObjectID + NodeType NodeType + NumberOfInputs float64 + NumberOfOutputs float64 + type AudioNodeCreatedReply struct + Node AudioNode + func (a *AudioNodeCreatedReply) GetFrameID() string + func (a *AudioNodeCreatedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *AudioNodeCreatedReply) UnmarshalJSON(b []byte) error + type AudioNodeWillBeDestroyedReply struct + ContextID GraphObjectID + NodeID GraphObjectID + func (a *AudioNodeWillBeDestroyedReply) GetFrameID() string + func (a *AudioNodeWillBeDestroyedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *AudioNodeWillBeDestroyedReply) UnmarshalJSON(b []byte) error + type AudioParam struct + ContextID GraphObjectID + DefaultValue float64 + MaxValue float64 + MinValue float64 + NodeID GraphObjectID + ParamID GraphObjectID + ParamType ParamType + Rate AutomationRate + type AudioParamCreatedReply struct + Param AudioParam + func (a *AudioParamCreatedReply) GetFrameID() string + func (a *AudioParamCreatedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *AudioParamCreatedReply) UnmarshalJSON(b []byte) error + type AudioParamWillBeDestroyedReply struct + ContextID GraphObjectID + NodeID GraphObjectID + ParamID GraphObjectID + func (a *AudioParamWillBeDestroyedReply) GetFrameID() string + func (a *AudioParamWillBeDestroyedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *AudioParamWillBeDestroyedReply) UnmarshalJSON(b []byte) error + type AutomationRate string + const AutomationRateARate + const AutomationRateKRate + const AutomationRateNotSet + func (e AutomationRate) String() string + func (e AutomationRate) Valid() bool + type BaseAudioContext struct + CallbackBufferSize float64 + ContextID GraphObjectID + ContextState ContextState + ContextType ContextType + MaxOutputChannelCount float64 + RealtimeData *ContextRealtimeData + SampleRate float64 + type ChannelCountMode string + const ChannelCountModeClampedMax + const ChannelCountModeExplicit + const ChannelCountModeMax + const ChannelCountModeNotSet + func (e ChannelCountMode) String() string + func (e ChannelCountMode) Valid() bool + type ChannelInterpretation string + const ChannelInterpretationDiscrete + const ChannelInterpretationNotSet + const ChannelInterpretationSpeakers + func (e ChannelInterpretation) String() string + func (e ChannelInterpretation) Valid() bool + type ContextChangedReply struct + Context BaseAudioContext + func (a *ContextChangedReply) GetFrameID() string + func (a *ContextChangedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ContextChangedReply) UnmarshalJSON(b []byte) error + type ContextCreatedReply struct + Context BaseAudioContext + func (a *ContextCreatedReply) GetFrameID() string + func (a *ContextCreatedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ContextCreatedReply) UnmarshalJSON(b []byte) error + type ContextRealtimeData struct + CallbackIntervalMean float64 + CallbackIntervalVariance float64 + CurrentTime float64 + RenderCapacity float64 + type ContextState string + const ContextStateClosed + const ContextStateNotSet + const ContextStateRunning + const ContextStateSuspended + func (e ContextState) String() string + func (e ContextState) Valid() bool + type ContextType string + const ContextTypeNotSet + const ContextTypeOffline + const ContextTypeRealtime + func (e ContextType) String() string + func (e ContextType) Valid() bool + type ContextWillBeDestroyedReply struct + ContextID GraphObjectID + func (a *ContextWillBeDestroyedReply) GetFrameID() string + func (a *ContextWillBeDestroyedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ContextWillBeDestroyedReply) UnmarshalJSON(b []byte) error + type DisableArgs struct + func (a *DisableArgs) MarshalJSON() ([]byte, error) + func (a *DisableArgs) UnmarshalJSON(b []byte) error + type DisableReply struct + func (a *DisableReply) GetFrameID() string + func (a *DisableReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *DisableReply) UnmarshalJSON(b []byte) error + type EnableArgs struct + func (a *EnableArgs) MarshalJSON() ([]byte, error) + func (a *EnableArgs) UnmarshalJSON(b []byte) error + type EnableReply struct + func (a *EnableReply) GetFrameID() string + func (a *EnableReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *EnableReply) UnmarshalJSON(b []byte) error + type GetRealtimeDataArgs struct + ContextID GraphObjectID + func (a *GetRealtimeDataArgs) MarshalJSON() ([]byte, error) + func (a *GetRealtimeDataArgs) UnmarshalJSON(b []byte) error + type GetRealtimeDataReply struct + RealtimeData ContextRealtimeData + func (a *GetRealtimeDataReply) GetFrameID() string + func (a *GetRealtimeDataReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetRealtimeDataReply) UnmarshalJSON(b []byte) error + type GraphObjectID string + type NodeParamConnectedReply struct + ContextID GraphObjectID + DestinationID GraphObjectID + SourceID GraphObjectID + SourceOutputIndex float64 + func (a *NodeParamConnectedReply) GetFrameID() string + func (a *NodeParamConnectedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *NodeParamConnectedReply) UnmarshalJSON(b []byte) error + type NodeParamDisconnectedReply struct + ContextID GraphObjectID + DestinationID GraphObjectID + SourceID GraphObjectID + SourceOutputIndex float64 + func (a *NodeParamDisconnectedReply) GetFrameID() string + func (a *NodeParamDisconnectedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *NodeParamDisconnectedReply) UnmarshalJSON(b []byte) error + type NodeType string + type NodesConnectedReply struct + ContextID GraphObjectID + DestinationID GraphObjectID + DestinationInputIndex float64 + SourceID GraphObjectID + SourceOutputIndex float64 + func (a *NodesConnectedReply) GetFrameID() string + func (a *NodesConnectedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *NodesConnectedReply) UnmarshalJSON(b []byte) error + type NodesDisconnectedReply struct + ContextID GraphObjectID + DestinationID GraphObjectID + DestinationInputIndex float64 + SourceID GraphObjectID + SourceOutputIndex float64 + func (a *NodesDisconnectedReply) GetFrameID() string + func (a *NodesDisconnectedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *NodesDisconnectedReply) UnmarshalJSON(b []byte) error + type ParamType string + type Unmarshaler func() json.Unmarshaler