#include <AudioModule.h>
Inherits fsf::CCharBuffer.
Inherited by audio::CAudioTrack.
Public Member Functions | |
Creators | |
CAudioBuffer () | |
Default constructor. | |
CAudioBuffer (fsf::CNode *pParent, fsf::Time tTime=0) | |
2-parameter constructor: parent and time stamp | |
CAudioBuffer (const std::string &strName, fsf::CNode *pParent=NULL, fsf::Time tTime=0) | |
3-parameter constructor: node name, parent and time stamp | |
CAudioBuffer (unsigned int nNbChannels, unsigned int nFormat, unsigned int nNbFrames, long nBufferSize=-1, fsf::CNode *pParent=NULL, fsf::Time tTime=0) | |
6-parameter initialization constructor | |
CAudioBuffer (const std::string &strName, unsigned int nNbChannels, unsigned int nFormat, unsigned int nNbFrames, long nBufferSize=-1, fsf::CNode *pParent=NULL, fsf::Time tTime=0) | |
7-parameter initialization constructor | |
CAudioBuffer (const CAudioBuffer &rhs) | |
Copy constructor. | |
virtual CNode * | clone () const |
Cloning: necessary for run-time polymorphism. | |
Manipulators | |
CAudioBuffer & | operator= (const CAudioBuffer &rhs) |
Assignment operator. | |
Accessors | |
virtual void | getTypeID (std::string &str) const |
Gets this node's factory mapping key. | |
unsigned int | getNbChannels () const |
Gets this audio buffer's number of channels. | |
unsigned int | getFormat () const |
Gets this audio buffer's audio format. | |
unsigned int | getNbFrames () const |
Gets this audio buffer's number of frames. |
audio::CAudioBuffer::CAudioBuffer | ( | ) | [inline] |
Default constructor.
audio::CAudioBuffer::CAudioBuffer | ( | fsf::CNode * | pParent, | |
fsf::Time | tTime = 0 | |||
) | [inline] |
2-parameter constructor: parent and time stamp
audio::CAudioBuffer::CAudioBuffer | ( | const std::string & | strName, | |
fsf::CNode * | pParent = NULL , |
|||
fsf::Time | tTime = 0 | |||
) | [inline] |
3-parameter constructor: node name, parent and time stamp
CAudioBuffer::CAudioBuffer | ( | unsigned int | nNbChannels, | |
unsigned int | nFormat, | |||
unsigned int | nNbFrames, | |||
long | nBufferSize = -1 , |
|||
fsf::CNode * | pParent = NULL , |
|||
fsf::Time | tTime = 0 | |||
) |
6-parameter initialization constructor
CAudioBuffer::CAudioBuffer | ( | const std::string & | strName, | |
unsigned int | nNbChannels, | |||
unsigned int | nFormat, | |||
unsigned int | nNbFrames, | |||
long | nBufferSize = -1 , |
|||
fsf::CNode * | pParent = NULL , |
|||
fsf::Time | tTime = 0 | |||
) |
7-parameter initialization constructor
CAudioBuffer::CAudioBuffer | ( | const CAudioBuffer & | rhs | ) |
Copy constructor.
virtual CNode* audio::CAudioBuffer::clone | ( | ) | const [inline, virtual] |
Cloning: necessary for run-time polymorphism.
Reimplemented from fsf::CCharBuffer.
Reimplemented in audio::CAudioTrack.
unsigned int audio::CAudioBuffer::getFormat | ( | ) | const [inline] |
unsigned int audio::CAudioBuffer::getNbChannels | ( | ) | const [inline] |
Gets this audio buffer's number of channels.
unsigned int audio::CAudioBuffer::getNbFrames | ( | ) | const [inline] |
Gets this audio buffer's number of frames.
virtual void audio::CAudioBuffer::getTypeID | ( | std::string & | str | ) | const [inline, virtual] |
Gets this node's factory mapping key.
Reimplemented from fsf::CCharBuffer.
Reimplemented in audio::CAudioTrack.
CAudioBuffer & CAudioBuffer::operator= | ( | const CAudioBuffer & | rhs | ) |
Assignment operator.