Sound Module Sound Informations. More...
#include <deBaseSoundInfo.h>
Public Member Functions | |
Constructors and Destructors | |
| deBaseSoundInfo () | |
| Creates a new sound info object. | |
| virtual | ~deBaseSoundInfo () |
| Cleans up the sound info object. | |
Notifications | |
| int | GetBytesPerSample () const |
| Retrieves the bytes per sample. | |
| void | SetBytesPerSample (int bytesPerSample) |
| Sets the bytes per sample. | |
| int | GetSampleCount () const |
| Retrieves the number of samples. | |
| void | SetSampleCount (int sampleCount) |
| Sets the number of samples. | |
| int | GetChannelCount () const |
| Retrieves the number of channels. | |
| void | SetChannelCount (int channelCount) |
| Sets the number of channels. | |
| int | GetSampleRate () const |
| Retrieves the sample rate. | |
| void | SetSampleRate (int sampleRate) |
| Sets the sample rate. | |
Sound Module Sound Informations.
Provides informations for a sound to loading afterwards. Can be used by the sound module to store additional data structures needed for loading in a subclasses object.
| deBaseSoundInfo::deBaseSoundInfo | ( | ) |
Creates a new sound info object.
| virtual deBaseSoundInfo::~deBaseSoundInfo | ( | ) | [virtual] |
Cleans up the sound info object.
| int deBaseSoundInfo::GetBytesPerSample | ( | ) | const [inline] |
Retrieves the bytes per sample.
| int deBaseSoundInfo::GetChannelCount | ( | ) | const [inline] |
Retrieves the number of channels.
| int deBaseSoundInfo::GetSampleCount | ( | ) | const [inline] |
Retrieves the number of samples.
| int deBaseSoundInfo::GetSampleRate | ( | ) | const [inline] |
Retrieves the sample rate.
| void deBaseSoundInfo::SetBytesPerSample | ( | int | bytesPerSample ) |
Sets the bytes per sample.
| void deBaseSoundInfo::SetChannelCount | ( | int | channelCount ) |
Sets the number of channels.
| void deBaseSoundInfo::SetSampleCount | ( | int | sampleCount ) |
Sets the number of samples.
| void deBaseSoundInfo::SetSampleRate | ( | int | sampleRate ) |
Sets the sample rate.
1.7.2