#include <sound_file.hpp>
Inherited by OggSoundFile, and WavSoundFile.
Public Member Functions | |
SoundFile () | |
virtual | ~SoundFile () |
virtual size_t | read (void *buffer, size_t buffer_size)=0 |
virtual void | reset ()=0 |
Public Attributes | |
int | channels |
int | rate |
int | bits_per_sample |
size_t | size |
size in bytes |
Definition at line 22 of file sound_file.hpp.
SoundFile::SoundFile | ( | ) | [inline] |
Definition at line 25 of file sound_file.hpp.
00025 : 00026 channels(), 00027 rate(), 00028 bits_per_sample(), 00029 size() 00030 {}
virtual SoundFile::~SoundFile | ( | ) | [inline, virtual] |
virtual size_t SoundFile::read | ( | void * | buffer, | |
size_t | buffer_size | |||
) | [pure virtual] |
Implemented in OggSoundFile, and WavSoundFile.
Referenced by StreamSoundSource::fillBufferAndQueue(), and SoundManager::load_file_into_buffer().
virtual void SoundFile::reset | ( | ) | [pure virtual] |
Implemented in OggSoundFile, and WavSoundFile.
Referenced by StreamSoundSource::fillBufferAndQueue().
Definition at line 38 of file sound_file.hpp.
Referenced by SoundManager::get_sample_format(), OggSoundFile::OggSoundFile(), and WavSoundFile::WavSoundFile().
int SoundFile::rate |
Definition at line 39 of file sound_file.hpp.
Referenced by StreamSoundSource::fillBufferAndQueue(), SoundManager::load_file_into_buffer(), OggSoundFile::OggSoundFile(), and WavSoundFile::WavSoundFile().
Definition at line 40 of file sound_file.hpp.
Referenced by SoundManager::get_sample_format(), OggSoundFile::OggSoundFile(), WavSoundFile::read(), and WavSoundFile::WavSoundFile().
size_t SoundFile::size |
size in bytes
Definition at line 42 of file sound_file.hpp.
Referenced by SoundManager::load_file_into_buffer(), OggSoundFile::OggSoundFile(), WavSoundFile::read(), and WavSoundFile::WavSoundFile().