7 #ifndef NAZARA_SOUNDSTREAM_HPP 8 #define NAZARA_SOUNDSTREAM_HPP 10 #include <Nazara/Prerequesites.hpp> 11 #include <Nazara/Audio/Config.hpp> 12 #include <Nazara/Audio/Enums.hpp> 22 virtual UInt32 GetDuration()
const = 0;
24 virtual UInt64 GetSampleCount()
const = 0;
25 virtual UInt32 GetSampleRate()
const = 0;
27 virtual UInt64 Read(
void* buffer, UInt64 sampleCount) = 0;
28 virtual void Seek(UInt64 offset) = 0;
32 #endif // NAZARA_SOUNDSTREAM_HPP TODO: Inherit SoundEmitter from Node.
Definition: Algorithm.hpp:12
AudioFormat
WARNING: The integer value is the number of canals owned by the format.
Definition: Enums.hpp:12
Audio class that represents a sound stream.
Definition: SoundStream.hpp:16