SoundDataBase::GetChannelNumber

SoundDataBase::GetChannelNumber
inline unsigned GetChannelNumber() const;
Description

GetChannelNumber retrieves the number of sound channels used in the sound data. For stereo data, the number of channel returned is 2 and for all other sound formats, number of channels returned is 1.

Return Value

An unsigned value containing the number of sound channels.