7 #ifndef CAFU_SOUNDSYS_STREAMING_BUFFER_HPP_INCLUDED
8 #define CAFU_SOUNDSYS_STREAMING_BUFFER_HPP_INCLUDED
StreamingBufferT(const std::string &ResName, bool ForceMono)
The constructor.
Definition: StreamingBuffer.cpp:15
A mixer track represents/encapsulates/abstracs an OpenAL sound source.
Definition: MixerTrack.hpp:22
~StreamingBufferT()
The destructor.
Definition: StreamingBuffer.cpp:25
A BufferT encapsulates an audio resource such as a file or a capture device.
Definition: Buffer.hpp:22
unsigned int GetChannels() const
Returns the number of audio channels in this buffer (1 is mono, 2 is stereo).
Definition: StreamingBuffer.cpp:36
bool DetachFromMixerTrack(MixerTrackT *MixerTrack)
Detaches the buffer from a mixer track.
Definition: StreamingBuffer.cpp:146
Represents a 16 Bit encoded mono or stereo raw PCM data stream.
Definition: SoundStream.hpp:14
bool CanShare() const
Returns whether this buffer can be attached to multiple mixer tracks (resource sharing).
Definition: StreamingBuffer.cpp:42
A StreamingBufferT is a BufferT specialization for audio data from a device or file whose contents is...
Definition: StreamingBuffer.hpp:19
bool AttachToMixerTrack(MixerTrackT *MixerTrack)
Attaches the buffer to a mixer track, so the mixer track can play this buffer.
Definition: StreamingBuffer.cpp:131
void Update()
Updates the buffer.
Definition: StreamingBuffer.cpp:90