|
| enum | State { State::Suspended,
State::Running,
State::Interrupted,
State::Closed
} |
| |
| enum | BehaviorRestrictionFlags { NoRestrictions = 0,
RequireUserGestureForAudioStartRestriction = 1 << 0,
RequirePageConsentForAudioStartRestriction = 1 << 1
} |
| |
| typedef unsigned | BehaviorRestrictions |
| |
| enum | ReasonForSuspension {
JavaScriptDebuggerPaused,
WillDeferLoading,
PageCache,
PageWillBeSuspended,
JavaScriptDebuggerPaused,
WillDeferLoading,
PageCache,
PageWillBeSuspended
} |
| |
| enum | ReasonForSuspension {
JavaScriptDebuggerPaused,
WillDeferLoading,
PageCache,
PageWillBeSuspended,
JavaScriptDebuggerPaused,
WillDeferLoading,
PageCache,
PageWillBeSuspended
} |
| |
| using | AddEventListenerOptionsOrBoolean = Variant< AddEventListenerOptions, bool > |
| |
| using | ListenerOptionsOrBoolean = Variant< ListenerOptions, bool > |
| |
| using | AddEventListenerOptionsOrBoolean = Variant< AddEventListenerOptions, bool > |
| |
| using | ListenerOptionsOrBoolean = Variant< ListenerOptions, bool > |
| |
| enum | MediaState {
IsNotPlaying = 0,
IsPlayingAudio = 1 << 0,
IsPlayingVideo = 1 << 1,
IsPlayingToExternalDevice = 1 << 2,
RequiresPlaybackTargetMonitoring = 1 << 3,
ExternalDeviceAutoPlayCandidate = 1 << 4,
DidPlayToEnd = 1 << 5,
IsSourceElementPlaying = 1 << 6,
IsNextTrackControlEnabled = 1 << 7,
IsPreviousTrackControlEnabled = 1 << 8,
HasPlaybackTargetAvailabilityListener = 1 << 9,
HasAudioOrVideo = 1 << 10,
HasActiveAudioCaptureDevice = 1 << 11,
HasActiveVideoCaptureDevice = 1 << 12,
IsNotPlaying = 0,
IsPlayingAudio = 1 << 0,
IsPlayingVideo = 1 << 1,
IsPlayingToExternalDevice = 1 << 2,
RequiresPlaybackTargetMonitoring = 1 << 3,
ExternalDeviceAutoPlayCandidate = 1 << 4,
DidPlayToEnd = 1 << 5,
IsSourceElementPlaying = 1 << 6,
IsNextTrackControlEnabled = 1 << 7,
IsPreviousTrackControlEnabled = 1 << 8,
HasPlaybackTargetAvailabilityListener = 1 << 9,
HasAudioOrVideo = 1 << 10,
HasActiveAudioCaptureDevice = 1 << 11,
HasActiveVideoCaptureDevice = 1 << 12
} |
| |
| enum | MutedState {
NoneMuted = 0,
AudioIsMuted = 1 << 0,
CaptureDevicesAreMuted = 1 << 1,
NoneMuted = 0,
AudioIsMuted = 1 << 0,
CaptureDevicesAreMuted = 1 << 1
} |
| |
| enum | MediaState {
IsNotPlaying = 0,
IsPlayingAudio = 1 << 0,
IsPlayingVideo = 1 << 1,
IsPlayingToExternalDevice = 1 << 2,
RequiresPlaybackTargetMonitoring = 1 << 3,
ExternalDeviceAutoPlayCandidate = 1 << 4,
DidPlayToEnd = 1 << 5,
IsSourceElementPlaying = 1 << 6,
IsNextTrackControlEnabled = 1 << 7,
IsPreviousTrackControlEnabled = 1 << 8,
HasPlaybackTargetAvailabilityListener = 1 << 9,
HasAudioOrVideo = 1 << 10,
HasActiveAudioCaptureDevice = 1 << 11,
HasActiveVideoCaptureDevice = 1 << 12,
IsNotPlaying = 0,
IsPlayingAudio = 1 << 0,
IsPlayingVideo = 1 << 1,
IsPlayingToExternalDevice = 1 << 2,
RequiresPlaybackTargetMonitoring = 1 << 3,
ExternalDeviceAutoPlayCandidate = 1 << 4,
DidPlayToEnd = 1 << 5,
IsSourceElementPlaying = 1 << 6,
IsNextTrackControlEnabled = 1 << 7,
IsPreviousTrackControlEnabled = 1 << 8,
HasPlaybackTargetAvailabilityListener = 1 << 9,
HasAudioOrVideo = 1 << 10,
HasActiveAudioCaptureDevice = 1 << 11,
HasActiveVideoCaptureDevice = 1 << 12
} |
| |
| enum | MutedState {
NoneMuted = 0,
AudioIsMuted = 1 << 0,
CaptureDevicesAreMuted = 1 << 1,
NoneMuted = 0,
AudioIsMuted = 1 << 0,
CaptureDevicesAreMuted = 1 << 1
} |
| |
| typedef unsigned | MediaStateFlags |
| |
| typedef unsigned | MutedStateFlags |
| |
| typedef unsigned | MediaStateFlags |
| |
| typedef unsigned | MutedStateFlags |
| |
| virtual | ~AudioContext () |
| |
| bool | isInitialized () const |
| |
| bool | isOfflineContext () |
| |
| Document * | document () const |
| |
| const Document * | hostingDocument () const override |
| |
| AudioDestinationNode * | destination () |
| |
| size_t | currentSampleFrame () const |
| |
| double | currentTime () const |
| |
| float | sampleRate () const |
| |
| unsigned long | activeSourceCount () const |
| |
| void | incrementActiveSourceCount () |
| |
| void | decrementActiveSourceCount () |
| |
| ExceptionOr< Ref< AudioBuffer > > | createBuffer (unsigned numberOfChannels, size_t numberOfFrames, float sampleRate) |
| |
| ExceptionOr< Ref< AudioBuffer > > | createBuffer (ArrayBuffer &, bool mixToMono) |
| |
| void | decodeAudioData (Ref< ArrayBuffer > &&, RefPtr< AudioBufferCallback > &&, RefPtr< AudioBufferCallback > &&) |
| |
| AudioListener * | listener () |
| |
| void | suspend (DOMPromise< void > &&) |
| |
| void | resume (DOMPromise< void > &&) |
| |
| void | close (DOMPromise< void > &&) |
| |
| State | state () const |
| |
| Ref< AudioBufferSourceNode > | createBufferSource () |
| |
| Ref< GainNode > | createGain () |
| |
| Ref< BiquadFilterNode > | createBiquadFilter () |
| |
| Ref< WaveShaperNode > | createWaveShaper () |
| |
| ExceptionOr< Ref< DelayNode > > | createDelay (double maxDelayTime) |
| |
| Ref< PannerNode > | createPanner () |
| |
| Ref< ConvolverNode > | createConvolver () |
| |
| Ref< DynamicsCompressorNode > | createDynamicsCompressor () |
| |
| Ref< AnalyserNode > | createAnalyser () |
| |
| ExceptionOr< Ref< ScriptProcessorNode > > | createScriptProcessor (size_t bufferSize, size_t numberOfInputChannels, size_t numberOfOutputChannels) |
| |
| ExceptionOr< Ref< ChannelSplitterNode > > | createChannelSplitter (size_t numberOfOutputs) |
| |
| ExceptionOr< Ref< ChannelMergerNode > > | createChannelMerger (size_t numberOfInputs) |
| |
| Ref< OscillatorNode > | createOscillator () |
| |
| ExceptionOr< Ref< PeriodicWave > > | createPeriodicWave (Float32Array &real, Float32Array &imaginary) |
| |
| void | notifyNodeFinishedProcessing (AudioNode *) |
| |
| void | handlePreRenderTasks () |
| |
| void | handlePostRenderTasks () |
| |
| void | derefFinishedSourceNodes () |
| |
| void | markForDeletion (AudioNode *) |
| |
| void | deleteMarkedNodes () |
| |
| void | addAutomaticPullNode (AudioNode *) |
| |
| void | removeAutomaticPullNode (AudioNode *) |
| |
| void | processAutomaticPullNodes (size_t framesToProcess) |
| |
| void | incrementConnectionCount () |
| |
| unsigned | connectionCount () const |
| |
| void | setAudioThread (ThreadIdentifier thread) |
| |
| ThreadIdentifier | audioThread () const |
| |
| bool | isAudioThread () const |
| |
| bool | isAudioThreadFinished () |
| |
| void | lock (bool &mustReleaseLock) |
| |
| bool | tryLock (bool &mustReleaseLock) |
| |
| void | unlock () |
| |
| bool | isGraphOwner () const |
| |
| void | addDeferredFinishDeref (AudioNode *) |
| |
| void | handleDeferredFinishDerefs () |
| |
| void | markSummingJunctionDirty (AudioSummingJunction *) |
| |
| void | markAudioNodeOutputDirty (AudioNodeOutput *) |
| |
| void | removeMarkedSummingJunction (AudioSummingJunction *) |
| |
| EventTargetInterface | eventTargetInterface () const final |
| |
| ScriptExecutionContext * | scriptExecutionContext () const final |
| |
| void | startRendering () |
| |
| void | fireCompletionEvent () |
| |
| BehaviorRestrictions | behaviorRestrictions () const |
| |
| void | addBehaviorRestriction (BehaviorRestrictions restriction) |
| |
| void | removeBehaviorRestriction (BehaviorRestrictions restriction) |
| |
| void | isPlayingAudioDidChange () |
| |
| void | nodeWillBeginPlayback () |
| |
| void | suspendIfNeeded () |
| |
| void | assertSuspendIfNeededWasCalled () const |
| |
| virtual bool | hasPendingActivity () const |
| |
| virtual void | suspend (ReasonForSuspension) |
| |
| virtual void | resume () |
| |
| template<class T > |
| void | setPendingActivity (T *thisObject) |
| |
| template<class T > |
| void | unsetPendingActivity (T *thisObject) |
| |
| void | suspendIfNeeded () |
| |
| void | assertSuspendIfNeededWasCalled () const |
| |
| virtual bool | hasPendingActivity () const |
| |
| virtual void | suspend (ReasonForSuspension) |
| |
| virtual void | resume () |
| |
| template<class T > |
| void | setPendingActivity (T *thisObject) |
| |
| template<class T > |
| void | unsetPendingActivity (T *thisObject) |
| |
| WEBCORE_EXPORT | ContextDestructionObserver (ScriptExecutionContext *) |
| |
| virtual WEBCORE_EXPORT void | contextDestroyed () |
| |
| ScriptExecutionContext * | scriptExecutionContext () const |
| |
| WEBCORE_EXPORT | ContextDestructionObserver (ScriptExecutionContext *) |
| |
| virtual WEBCORE_EXPORT void | contextDestroyed () |
| |
| ScriptExecutionContext * | scriptExecutionContext () const |
| |
| void | deref () const |
| |
| void | deref () const |
| |
| void | deref () const |
| |
| | ThreadSafeRefCountedBase ()=default |
| |
| void | ref () const |
| |
| bool | hasOneRef () const |
| |
| unsigned | refCount () const |
| |
| | ThreadSafeRefCountedBase ()=default |
| |
| void | ref () const |
| |
| bool | hasOneRef () const |
| |
| unsigned | refCount () const |
| |
| | ThreadSafeRefCountedBase ()=default |
| |
| void | ref () const |
| |
| bool | hasOneRef () const |
| |
| unsigned | refCount () const |
| |
| void | ref () |
| |
| void | deref () |
| |
| virtual Node * | toNode () |
| |
| virtual DOMWindow * | toDOMWindow () |
| |
| virtual bool | isMessagePort () const |
| |
| WEBCORE_EXPORT void | addEventListenerForBindings (const AtomicString &eventType, RefPtr< EventListener > &&, AddEventListenerOptionsOrBoolean &&) |
| |
| WEBCORE_EXPORT void | removeEventListenerForBindings (const AtomicString &eventType, RefPtr< EventListener > &&, ListenerOptionsOrBoolean &&) |
| |
| WEBCORE_EXPORT ExceptionOr< bool > | dispatchEventForBindings (Event &) |
| |
| virtual bool | addEventListener (const AtomicString &eventType, Ref< EventListener > &&, const AddEventListenerOptions &={ }) |
| |
| virtual bool | removeEventListener (const AtomicString &eventType, EventListener &, const ListenerOptions &) |
| |
| virtual void | removeAllEventListeners () |
| |
| virtual bool | dispatchEvent (Event &) |
| |
| virtual void | uncaughtExceptionInEventHandler () |
| |
| bool | setAttributeEventListener (const AtomicString &eventType, RefPtr< EventListener > &&) |
| |
| EventListener * | attributeEventListener (const AtomicString &eventType) |
| |
| bool | hasEventListeners () const |
| |
| bool | hasEventListeners (const AtomicString &eventType) const |
| |
| bool | hasCapturingEventListeners (const AtomicString &eventType) |
| |
| bool | hasActiveEventListeners (const AtomicString &eventType) const |
| |
| const EventListenerVector & | eventListeners (const AtomicString &eventType) |
| |
| bool | fireEventListeners (Event &) |
| |
| bool | isFiringEventListeners () const |
| |
| void | visitJSEventListeners (JSC::SlotVisitor &) |
| |
| void | invalidateJSEventListeners (JSC::JSObject *) |
| |
| void | ref () |
| |
| void | deref () |
| |
| virtual Node * | toNode () |
| |
| virtual DOMWindow * | toDOMWindow () |
| |
| virtual bool | isMessagePort () const |
| |
| WEBCORE_EXPORT void | addEventListenerForBindings (const AtomicString &eventType, RefPtr< EventListener > &&, AddEventListenerOptionsOrBoolean &&) |
| |
| WEBCORE_EXPORT void | removeEventListenerForBindings (const AtomicString &eventType, RefPtr< EventListener > &&, ListenerOptionsOrBoolean &&) |
| |
| WEBCORE_EXPORT ExceptionOr< bool > | dispatchEventForBindings (Event &) |
| |
| virtual bool | addEventListener (const AtomicString &eventType, Ref< EventListener > &&, const AddEventListenerOptions &={ }) |
| |
| virtual bool | removeEventListener (const AtomicString &eventType, EventListener &, const ListenerOptions &) |
| |
| virtual void | removeAllEventListeners () |
| |
| virtual bool | dispatchEvent (Event &) |
| |
| virtual void | uncaughtExceptionInEventHandler () |
| |
| bool | setAttributeEventListener (const AtomicString &eventType, RefPtr< EventListener > &&) |
| |
| EventListener * | attributeEventListener (const AtomicString &eventType) |
| |
| bool | hasEventListeners () const |
| |
| bool | hasEventListeners (const AtomicString &eventType) const |
| |
| bool | hasCapturingEventListeners (const AtomicString &eventType) |
| |
| bool | hasActiveEventListeners (const AtomicString &eventType) const |
| |
| const EventListenerVector & | eventListeners (const AtomicString &eventType) |
| |
| bool | fireEventListeners (Event &) |
| |
| bool | isFiringEventListeners () const |
| |
| void | visitJSEventListeners (JSC::SlotVisitor &) |
| |
| void | invalidateJSEventListeners (JSC::JSObject *) |
| |
| JSDOMObject * | wrapper () const |
| |
| void | setWrapper (JSDOMObject *, JSC::WeakHandleOwner *, void *) |
| |
| void | clearWrapper (JSDOMObject *) |
| |
| JSDOMObject * | wrapper () const |
| |
| void | setWrapper (JSDOMObject *, JSC::WeakHandleOwner *, void *) |
| |
| void | clearWrapper (JSDOMObject *) |
| |
| static unsigned | s_hardwareContextCount |
| |
| | AudioContext (Document &) |
| |
| | AudioContext (Document &, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate) |
| |
| | ActiveDOMObject (ScriptExecutionContext *) |
| |
| virtual | ~ActiveDOMObject () |
| |
| | ActiveDOMObject (ScriptExecutionContext *) |
| |
| virtual | ~ActiveDOMObject () |
| |
| virtual WEBCORE_EXPORT | ~ContextDestructionObserver () |
| |
| void | observeContext (ScriptExecutionContext *) |
| |
| virtual WEBCORE_EXPORT | ~ContextDestructionObserver () |
| |
| void | observeContext (ScriptExecutionContext *) |
| |
| | ThreadSafeRefCounted ()=default |
| |
| | ThreadSafeRefCounted ()=default |
| |
| | ThreadSafeRefCounted ()=default |
| |
| bool | derefBase () const |
| |
| bool | derefBase () const |
| |
| bool | derefBase () const |
| |
| EventTargetData * | eventTargetData () final |
| |
| EventTargetData * | eventTargetDataConcurrently () final |
| |
| EventTargetData & | ensureEventTargetData () final |
| |
| EventTargetData * | eventTargetData () final |
| |
| EventTargetData * | eventTargetDataConcurrently () final |
| |
| EventTargetData & | ensureEventTargetData () final |
| |
| virtual | ~EventTarget ()=default |
| |
| const EventTargetData * | eventTargetData () const |
| |
| virtual | ~EventTarget ()=default |
| |
| const EventTargetData * | eventTargetData () const |
| |
| | ~ScriptWrappable () |
| |
| | ~ScriptWrappable () |
| |
| virtual | ~MediaCanStartListener () |
| |
| virtual | ~MediaCanStartListener () |
| |
| virtual | ~MediaProducer () |
| |
| virtual | ~MediaProducer () |
| |
| static bool | isSampleRateRangeGood (float sampleRate) |
| |
| ScriptExecutionContext * | m_scriptExecutionContext |
| |