Drag[en]gine Game Engine  1.0
deBaseSoundInfo Class Reference

Sound Module Sound Informations. More...

#include <deBaseSoundInfo.h>

Public Member Functions

Constructors and Destructors
 deBaseSoundInfo ()
 
virtual ~deBaseSoundInfo ()
 
Notifications
int GetBytesPerSample () const
 
void SetBytesPerSample (int bytesPerSample)
 
int GetSampleCount () const
 
void SetSampleCount (int sampleCount)
 
int GetChannelCount () const
 
void SetChannelCount (int channelCount)
 
int GetSampleRate () const
 
void SetSampleRate (int sampleRate)
 

Detailed Description

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.

Author
Pl├╝ss Roland
Version
1.0
Date
2008

Constructor & Destructor Documentation

◆ deBaseSoundInfo()

deBaseSoundInfo::deBaseSoundInfo ( )

Creates a new sound info object.

◆ ~deBaseSoundInfo()

virtual deBaseSoundInfo::~deBaseSoundInfo ( )
virtual

Cleans up the sound info object.

Member Function Documentation

◆ GetBytesPerSample()

int deBaseSoundInfo::GetBytesPerSample ( ) const
inline

Retrieves the bytes per sample.

References SetBytesPerSample().

◆ GetChannelCount()

int deBaseSoundInfo::GetChannelCount ( ) const
inline

Retrieves the number of channels.

References SetChannelCount().

◆ GetSampleCount()

int deBaseSoundInfo::GetSampleCount ( ) const
inline

Retrieves the number of samples.

References SetSampleCount().

◆ GetSampleRate()

int deBaseSoundInfo::GetSampleRate ( ) const
inline

Retrieves the sample rate.

References SetSampleRate().

◆ SetBytesPerSample()

void deBaseSoundInfo::SetBytesPerSample ( int  bytesPerSample)

Sets the bytes per sample.

Referenced by GetBytesPerSample().

◆ SetChannelCount()

void deBaseSoundInfo::SetChannelCount ( int  channelCount)

Sets the number of channels.

Referenced by GetChannelCount().

◆ SetSampleCount()

void deBaseSoundInfo::SetSampleCount ( int  sampleCount)

Sets the number of samples.

Referenced by GetSampleCount().

◆ SetSampleRate()

void deBaseSoundInfo::SetSampleRate ( int  sampleRate)

Sets the sample rate.

Referenced by GetSampleRate().


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