webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
AudioBufferSourceNode Interface Reference

import"AudioBufferSourceNode.idl";

Inheritance diagram for AudioBufferSourceNode:
AudioNode EventTarget

Public Member Functions

void start (optional unrestricted double when=0, optional unrestricted double grainOffset=0, optional unrestricted double grainDuration)
 
void stop (optional unrestricted double when=0)
 
- Public Member Functions inherited from AudioNode
void connect (AudioNode destination, optional unsigned long output=0, optional unsigned long input=0)
 
void connect (AudioParam destination, optional unsigned long output=0)
 
void disconnect (optional unsigned long output=0)
 
- Public Member Functions inherited from EventTarget
void addEventListener ([AtomicString] DOMString type, EventListener? callback, optional(AddEventListenerOptions or boolean) options=false)
 
void removeEventListener ([AtomicString] DOMString type, EventListener? callback, optional(EventListenerOptions or boolean) options=false)
 
boolean dispatchEvent (Event event)
 

Public Attributes

attribute AudioBuffer buffer
 
const unsigned short UNSCHEDULED_STATE = 0
 
const unsigned short SCHEDULED_STATE = 1
 
const unsigned short PLAYING_STATE = 2
 
const unsigned short FINISHED_STATE = 3
 
readonly attribute unsigned short playbackState
 
readonly attribute AudioParam gain
 
readonly attribute AudioParam playbackRate
 
attribute boolean loop
 
attribute unrestricted double loopStart
 
attribute unrestricted double loopEnd
 
attribute EventHandler onended
 
- Public Attributes inherited from AudioNode
readonly attribute AudioContext context
 
readonly attribute unsigned long numberOfInputs
 
readonly attribute unsigned long numberOfOutputs
 
attribute unsigned long channelCount
 
attribute DOMString channelCountMode
 
attribute DOMString channelInterpretation
 

Member Function Documentation

◆ start()

void AudioBufferSourceNode::start ( optional unrestricted double  when = 0,
optional unrestricted double  grainOffset = 0,
optional unrestricted double  grainDuration 
)

◆ stop()

void AudioBufferSourceNode::stop ( optional unrestricted double  when = 0)

Member Data Documentation

◆ buffer

attribute AudioBuffer AudioBufferSourceNode::buffer

◆ FINISHED_STATE

const unsigned short AudioBufferSourceNode::FINISHED_STATE = 3

◆ gain

readonly attribute AudioParam AudioBufferSourceNode::gain

◆ loop

attribute boolean AudioBufferSourceNode::loop

◆ loopEnd

attribute unrestricted double AudioBufferSourceNode::loopEnd

◆ loopStart

attribute unrestricted double AudioBufferSourceNode::loopStart

◆ onended

attribute EventHandler AudioBufferSourceNode::onended

◆ playbackRate

readonly attribute AudioParam AudioBufferSourceNode::playbackRate

◆ playbackState

readonly attribute unsigned short AudioBufferSourceNode::playbackState

◆ PLAYING_STATE

const unsigned short AudioBufferSourceNode::PLAYING_STATE = 2

◆ SCHEDULED_STATE

const unsigned short AudioBufferSourceNode::SCHEDULED_STATE = 1

◆ UNSCHEDULED_STATE

const unsigned short AudioBufferSourceNode::UNSCHEDULED_STATE = 0

The documentation for this interface was generated from the following file: