OpenMW
|
Public Member Functions | |
OpenAL_SoundStream (OpenAL_Output &output, ALuint src, DecoderPtr decoder, float basevol, float pitch, int flags) | |
virtual | ~OpenAL_SoundStream () |
virtual void | stop () |
virtual bool | isPlaying () |
virtual double | getTimeOffset () |
virtual void | update () |
void | play () |
bool | process () |
Private Member Functions | |
void | updateAll (bool local) |
OpenAL_SoundStream (const OpenAL_SoundStream &rhs) | |
OpenAL_SoundStream & | operator= (const OpenAL_SoundStream &rhs) |
Private Attributes | |
OpenAL_Output & | mOutput |
ALuint | mSource |
ALuint | mBuffers [sNumBuffers] |
ALenum | mFormat |
ALsizei | mSampleRate |
ALuint | mBufferSize |
ALuint | mSamplesQueued |
DecoderPtr | mDecoder |
volatile bool | mIsFinished |
Static Private Attributes | |
static const ALuint | sNumBuffers = 6 |
static const ALfloat | sBufferLength = 0.125f |
Friends | |
class | OpenAL_Output |
MWSound::OpenAL_SoundStream::OpenAL_SoundStream | ( | const OpenAL_SoundStream & | rhs | ) | [private] |
MWSound::OpenAL_SoundStream::OpenAL_SoundStream | ( | OpenAL_Output & | output, |
ALuint | src, | ||
DecoderPtr | decoder, | ||
float | basevol, | ||
float | pitch, | ||
int | flags | ||
) |
MWSound::OpenAL_SoundStream::~OpenAL_SoundStream | ( | ) | [virtual] |
double MWSound::OpenAL_SoundStream::getTimeOffset | ( | ) | [virtual] |
Implements MWSound::Sound.
bool MWSound::OpenAL_SoundStream::isPlaying | ( | ) | [virtual] |
Implements MWSound::Sound.
OpenAL_SoundStream& MWSound::OpenAL_SoundStream::operator= | ( | const OpenAL_SoundStream & | rhs | ) | [private] |
void MWSound::OpenAL_SoundStream::play | ( | ) |
bool MWSound::OpenAL_SoundStream::process | ( | ) |
void MWSound::OpenAL_SoundStream::stop | ( | ) | [virtual] |
Implements MWSound::Sound.
void MWSound::OpenAL_SoundStream::update | ( | ) | [virtual] |
Implements MWSound::Sound.
void MWSound::OpenAL_SoundStream::updateAll | ( | bool | local | ) | [private] |
friend class OpenAL_Output [friend] |
Reimplemented from MWSound::Sound.
ALuint MWSound::OpenAL_SoundStream::mBuffers[sNumBuffers] [private] |
ALuint MWSound::OpenAL_SoundStream::mBufferSize [private] |
ALenum MWSound::OpenAL_SoundStream::mFormat [private] |
volatile bool MWSound::OpenAL_SoundStream::mIsFinished [private] |
ALsizei MWSound::OpenAL_SoundStream::mSampleRate [private] |
ALuint MWSound::OpenAL_SoundStream::mSamplesQueued [private] |
ALuint MWSound::OpenAL_SoundStream::mSource [private] |
const ALfloat MWSound::OpenAL_SoundStream::sBufferLength = 0.125f [static, private] |
const ALuint MWSound::OpenAL_SoundStream::sNumBuffers = 6 [static, private] |