gedi::SoundBuffer Class Reference

#include <Sound.h>

List of all members.

Public Member Functions

 SoundBuffer (void)
 ~SoundBuffer (void)
gedi::Real32 GetPlayTime ()
gedi::UInt32 GetPcmDataSize ()
gedi::UInt32 GetNumberChannles ()
gedi::UInt32 GetBitsPerSample ()
gedi::UInt32 GetSamplesPerSec ()


Detailed Description

Sound class which extends Sound class and adds methods to extract sound info like the play time, etc.


Constructor & Destructor Documentation

gedi::SoundBuffer::SoundBuffer ( void   )  [inline]

Constructor.

gedi::SoundBuffer::~SoundBuffer ( void   )  [inline]

Destructor


Member Function Documentation

gedi::Real32 gedi::SoundBuffer::GetPlayTime (  ) 

Returns the play time in seconds.

Returns:
Play time of buffer in seconds.

gedi::UInt32 gedi::SoundBuffer::GetPcmDataSize (  )  [inline]

Returns the (PCM) data file size in bytes.

Returns:
Size in bytes.

gedi::UInt32 gedi::SoundBuffer::GetNumberChannles (  )  [inline]

Returns the number of channels, eg, 1==mono, 2==stereo, etc.

Returns:
Number of channels.

gedi::UInt32 gedi::SoundBuffer::GetBitsPerSample (  )  [inline]

Returns the number of bits per sample, ie, the dynamic range.

Returns:
Bits per sample

gedi::UInt32 gedi::SoundBuffer::GetSamplesPerSec (  )  [inline]

Returns the number of samples per second, eg, 44.1K==cd quality.

Returns:
Samples per second.


The documentation for this class was generated from the following files: