#include <Sound.h>
Public Member Functions | |
SoundBuffer (void) | |
~SoundBuffer (void) | |
gedi::Real32 | GetPlayTime () |
gedi::UInt32 | GetPcmDataSize () |
gedi::UInt32 | GetNumberChannles () |
gedi::UInt32 | GetBitsPerSample () |
gedi::UInt32 | GetSamplesPerSec () |
gedi::SoundBuffer::SoundBuffer | ( | void | ) | [inline] |
Constructor.
gedi::SoundBuffer::~SoundBuffer | ( | void | ) | [inline] |
Destructor
gedi::Real32 gedi::SoundBuffer::GetPlayTime | ( | ) |
Returns the play time in seconds.
gedi::UInt32 gedi::SoundBuffer::GetPcmDataSize | ( | ) | [inline] |
Returns the (PCM) data file size in bytes.
gedi::UInt32 gedi::SoundBuffer::GetNumberChannles | ( | ) | [inline] |
Returns the number of channels, eg, 1==mono, 2==stereo, etc.
gedi::UInt32 gedi::SoundBuffer::GetBitsPerSample | ( | ) | [inline] |
Returns the number of bits per sample, ie, the dynamic range.
gedi::UInt32 gedi::SoundBuffer::GetSamplesPerSec | ( | ) | [inline] |
Returns the number of samples per second, eg, 44.1K==cd quality.