API documentation  2.0rc1
Public Member Functions | List of all members
client::AudioBufferSourceNode Class Reference

#include <clientlib.h>

Inherits client::AudioNode.

Public Member Functions

AudioBufferget_buffer ()
 
void set_buffer (AudioBuffer *)
 
AudioParamget_detune ()
 
bool get_loop ()
 
void set_loop (bool)
 
double get_loopEnd ()
 
void set_loopEnd (double)
 
double get_loopStart ()
 
void set_loopStart (double)
 
EventListenerget_onended ()
 
void set_onended (EventListener *)
 
AudioParamget_playbackRate ()
 
void start ()
 
void start (double when)
 
void start (double when, double offset)
 
void start (double when, double offset, double duration)
 
void stop ()
 
void stop (double when)
 
void addEventListener (const String &type, EventListener *listener)
 
void addEventListener (const String &type, EventListener *listener, bool options)
 
void addEventListener (const String &type, EventListener *listener, AddEventListenerOptions *options)
 
void addEventListener (const String &type, EventListenerObject *listener)
 
void addEventListener (const String &type, EventListenerObject *listener, AddEventListenerOptions *options)
 
void removeEventListener (const String &type, EventListener *listener)
 
void removeEventListener (const String &type, EventListener *listener, bool options)
 
void removeEventListener (const String &type, EventListener *listener, EventListenerOptions *options)
 
void removeEventListener (const String &type, EventListenerObject *listener)
 
void removeEventListener (const String &type, EventListenerObject *listener, EventListenerOptions *options)
 
AudioBufferSourceNodeget_prototype ()
 
void set_prototype (AudioBufferSourceNode *)
 
 AudioBufferSourceNode ()
 
- Public Member Functions inherited from client::AudioNode
double get_channelCount ()
 
void set_channelCount (double)
 
Stringget_channelCountMode ()
 
void set_channelCountMode (const String &)
 
Stringget_channelInterpretation ()
 
void set_channelInterpretation (const String &)
 
AudioContextget_context ()
 
double get_numberOfInputs ()
 
double get_numberOfOutputs ()
 
AudioNodeconnect (AudioNode *destination)
 
AudioNodeconnect (AudioNode *destination, double output)
 
AudioNodeconnect (AudioNode *destination, double output, double input)
 
void connect (AudioParam *destination)
 
void connect (AudioParam *destination, double output)
 
void disconnect ()
 
void disconnect (double output)
 
void disconnect (AudioNode *destination)
 
void disconnect (AudioNode *destination, double output)
 
void disconnect (AudioNode *destination, double output, double input)
 
void disconnect (AudioParam *destination)
 
void disconnect (AudioParam *destination, double output)
 
AudioNodeget_prototype ()
 
void set_prototype (AudioNode *)
 
 AudioNode ()
 
- Public Member Functions inherited from client::EventTarget
void addEventListener (const String &type, EventListener *listener)
 
void addEventListener (const String &type, EventListener *listener, bool options)
 
void addEventListener (const String &type, EventListener *listener, AddEventListenerOptions *options)
 
void addEventListener (const String &type, EventListenerObject *listener)
 
void addEventListener (const String &type, EventListenerObject *listener, AddEventListenerOptions *options)
 
bool dispatchEvent (Event *evt)
 
void removeEventListener (const String &type)
 
void removeEventListener (const String &type, EventListener *listener)
 
void removeEventListener (const String &type, EventListener *listener, EventListenerOptions *options)
 
void removeEventListener (const String &type, EventListener *listener, bool options)
 
void removeEventListener (const String &type, EventListenerObject *listener)
 
void removeEventListener (const String &type, EventListenerObject *listener, bool options)
 
EventTargetget_prototype ()
 
void set_prototype (EventTarget *)
 
 EventTarget ()
 
- Public Member Functions inherited from client::Object
 Object ()
 
template<typename T >
valueOf ()
 
 operator double () const
 
Objectoperator[] (const client::String &name) const
 
void set_ (const client::String &name, Object *v)
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
void set_ (const client::String &name, T v)
 
bool hasOwnProperty (const client::String &name)
 

Constructor & Destructor Documentation

◆ AudioBufferSourceNode()

client::AudioBufferSourceNode::AudioBufferSourceNode ( )

Member Function Documentation

◆ addEventListener() [1/5]

void client::AudioBufferSourceNode::addEventListener ( const String type,
EventListener listener 
)

◆ addEventListener() [2/5]

void client::AudioBufferSourceNode::addEventListener ( const String type,
EventListener listener,
bool  options 
)

◆ addEventListener() [3/5]

void client::AudioBufferSourceNode::addEventListener ( const String type,
EventListener listener,
AddEventListenerOptions options 
)

◆ addEventListener() [4/5]

void client::AudioBufferSourceNode::addEventListener ( const String type,
EventListenerObject listener 
)

◆ addEventListener() [5/5]

void client::AudioBufferSourceNode::addEventListener ( const String type,
EventListenerObject listener,
AddEventListenerOptions options 
)

◆ get_buffer()

AudioBuffer* client::AudioBufferSourceNode::get_buffer ( )

◆ get_detune()

AudioParam* client::AudioBufferSourceNode::get_detune ( )

◆ get_loop()

bool client::AudioBufferSourceNode::get_loop ( )

◆ get_loopEnd()

double client::AudioBufferSourceNode::get_loopEnd ( )

◆ get_loopStart()

double client::AudioBufferSourceNode::get_loopStart ( )

◆ get_onended()

EventListener* client::AudioBufferSourceNode::get_onended ( )

◆ get_playbackRate()

AudioParam* client::AudioBufferSourceNode::get_playbackRate ( )

◆ get_prototype()

AudioBufferSourceNode* client::AudioBufferSourceNode::get_prototype ( )

◆ removeEventListener() [1/5]

void client::AudioBufferSourceNode::removeEventListener ( const String type,
EventListener listener 
)

◆ removeEventListener() [2/5]

void client::AudioBufferSourceNode::removeEventListener ( const String type,
EventListener listener,
bool  options 
)

◆ removeEventListener() [3/5]

void client::AudioBufferSourceNode::removeEventListener ( const String type,
EventListener listener,
EventListenerOptions options 
)

◆ removeEventListener() [4/5]

void client::AudioBufferSourceNode::removeEventListener ( const String type,
EventListenerObject listener 
)

◆ removeEventListener() [5/5]

void client::AudioBufferSourceNode::removeEventListener ( const String type,
EventListenerObject listener,
EventListenerOptions options 
)

◆ set_buffer()

void client::AudioBufferSourceNode::set_buffer ( AudioBuffer )

◆ set_loop()

void client::AudioBufferSourceNode::set_loop ( bool  )

◆ set_loopEnd()

void client::AudioBufferSourceNode::set_loopEnd ( double  )

◆ set_loopStart()

void client::AudioBufferSourceNode::set_loopStart ( double  )

◆ set_onended()

void client::AudioBufferSourceNode::set_onended ( EventListener )

◆ set_prototype()

void client::AudioBufferSourceNode::set_prototype ( AudioBufferSourceNode )

◆ start() [1/4]

void client::AudioBufferSourceNode::start ( )

◆ start() [2/4]

void client::AudioBufferSourceNode::start ( double  when)

◆ start() [3/4]

void client::AudioBufferSourceNode::start ( double  when,
double  offset 
)

◆ start() [4/4]

void client::AudioBufferSourceNode::start ( double  when,
double  offset,
double  duration 
)

◆ stop() [1/2]

void client::AudioBufferSourceNode::stop ( )

◆ stop() [2/2]

void client::AudioBufferSourceNode::stop ( double  when)