ptd::CAudioLibrary Class Reference
[Music module]

#include <PtdMusicModule.h>

List of all members.

Public Member Functions

Creators
 CAudioLibrary ()
 Default constructor.
 CAudioLibrary (fsf::CNode *pParent, unsigned int m_nNbChannels, fsf::Time tTime=0)
 3-parameter constructor: parent and time stamp
 CAudioLibrary (std::string &strName, fsf::CNode *pParent, unsigned int m_nNbChannels, fsf::Time tTime=0)
 4-parameter constructor: node name, parent and time stamp
 CAudioLibrary (const CAudioLibrary &rhs)
 Copy constructor.
virtual fsf::CNode * clone () const
 Cloning: necessary for run-time polymorphism.
 ~CAudioLibrary ()
 Destructor.
Manipulators
CAudioLibrary & operator= (const CAudioLibrary &)
 Assignment operator.
void mixSamples (audio::CAudioBuffer *pBuffer)
 mixer
void addSample (CAudioSample *newSample)
 Adds a sample to the library.
void resetSamples ()
 Resets all sample play indices to zero.
std::list< CAudioSample * > & getSamples ()
 Returns a reference to the m_vectSamples.
Accessors
virtual void getTypeID (std::string &str) const
 Factory mapping key.

Private Attributes

unsigned int m_nNbChannels
 Number of channels.
std::list< CAudioSample * > m_vectSamples
 List of audio samples.


Detailed Description

Music/sound sample library
The documentation for this class was generated from the following files:

Generated on Mon Dec 20 15:54:52 2010 for Platitude by doxygen 1.5.9