25 #ifndef SFML_SOUNDFILEREADER_HPP 26 #define SFML_SOUNDFILEREADER_HPP 31 #include <SFML/Audio/Export.hpp> 91 virtual void seek(Uint64 sampleOffset) = 0;
102 virtual Uint64 read(Int16* samples, Uint64 maxCount) = 0;
108 #endif // SFML_SOUNDFILEREADER_HPP
unsigned int sampleRate
Samples rate of the sound, in samples per second.
Structure holding the audio properties of a sound file.
virtual ~SoundFileReader()
Virtual destructor.
unsigned int channelCount
Number of channels of the sound.
Uint64 sampleCount
Total number of samples in the file.
Abstract base class for sound file decoding.