Loading...
Searching...
No Matches
SoundFileReader.hpp
Go to the documentation of this file.
7// In no event will the authors be held liable for any damages arising from the use of this software.
virtual void seek(Uint64 sampleOffset)=0
Change the current read position to the given sample offset.
virtual Uint64 read(Int16 *samples, Uint64 maxCount)=0
Read audio samples from the open file.
virtual bool open(InputStream &stream, Info &info)=0
Open a sound file for reading.
Definition AlResource.hpp:35
Structure holding the audio properties of a sound file.
Definition SoundFileReader.hpp:52
unsigned int sampleRate
Samples rate of the sound, in samples per second.
Definition SoundFileReader.hpp:55