51 virtual void update()
override;
52 virtual void dispose()
override;
71 virtual void rewind()
override;
72 virtual void play()
override;
73 virtual void pause()
override;
74 virtual void stop()
override;
virtual void play() override
Plays this audio entity.
virtual void rewind() override
Rewinds this audio entity.
virtual void dispose() override
Dispose this entity from OpenAL.
void updateProperties()
Updates properties to Open AL.
virtual void update() override
Commits properties to OpenAl.
virtual bool initialize() override
Initiates this OpenAL entity to OpenAl.
virtual void setParameters(uint32_t sampleRate, uint8_t channels, const uint32_t bufferSize=32768)
Set audio initialization parameters.
virtual bool isPlaying() override
array< uint32_t, 2 > alBufferIds
virtual void fillBuffer(ByteBuffer *data)=0
Fill buffer.
virtual ~AudioStream()
Destructor.
virtual void stop() override
Stops this audio entity.
AudioStream(const string &id)
Protected constructor.
virtual void pause() override
Pauses this audio entity.
Interface to audio module.