OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
MWSound::OpenAL_SoundStream Class Reference
Collaboration diagram for MWSound::OpenAL_SoundStream:

Public Member Functions

 OpenAL_SoundStream (ALuint src, DecoderPtr decoder, bool getLoudnessData=false)
 
 ~OpenAL_SoundStream ()
 
bool isPlaying ()
 
double getStreamDelay () const
 
double getStreamOffset () const
 
float getCurrentLoudness () const
 
bool process ()
 
ALint refillQueue ()
 

Private Member Functions

void updateAll (bool local)
 
 OpenAL_SoundStream (const OpenAL_SoundStream &rhs)
 
OpenAL_SoundStreamoperator= (const OpenAL_SoundStream &rhs)
 

Private Attributes

ALuint mSource
 
ALuint mBuffers [sNumBuffers]
 
ALint mCurrentBufIdx
 
ALenum mFormat
 
ALsizei mSampleRate
 
ALuint mBufferSize
 
ALuint mFrameSize
 
ALint mSilence
 
DecoderPtr mDecoder
 
std::auto_ptr< Sound_LoudnessmLoudnessAnalyzer
 
volatile bool mIsFinished
 

Static Private Attributes

static const ALuint sNumBuffers = 6
 
static const ALfloat sBufferLength = 0.125f
 

Friends

class OpenAL_Output
 

Constructor & Destructor Documentation

MWSound::OpenAL_SoundStream::OpenAL_SoundStream ( const OpenAL_SoundStream rhs)
private
MWSound::OpenAL_SoundStream::OpenAL_SoundStream ( ALuint  src,
DecoderPtr  decoder,
bool  getLoudnessData = false 
)

Here is the call graph for this function:

MWSound::OpenAL_SoundStream::~OpenAL_SoundStream ( )

Member Function Documentation

float MWSound::OpenAL_SoundStream::getCurrentLoudness ( ) const

Here is the call graph for this function:

Here is the caller graph for this function:

double MWSound::OpenAL_SoundStream::getStreamDelay ( ) const

Here is the call graph for this function:

Here is the caller graph for this function:

double MWSound::OpenAL_SoundStream::getStreamOffset ( ) const

Here is the call graph for this function:

Here is the caller graph for this function:

bool MWSound::OpenAL_SoundStream::isPlaying ( )

Here is the call graph for this function:

Here is the caller graph for this function:

OpenAL_SoundStream& MWSound::OpenAL_SoundStream::operator= ( const OpenAL_SoundStream rhs)
private
bool MWSound::OpenAL_SoundStream::process ( )

Here is the call graph for this function:

ALint MWSound::OpenAL_SoundStream::refillQueue ( )

Here is the caller graph for this function:

void MWSound::OpenAL_SoundStream::updateAll ( bool  local)
private

Friends And Related Function Documentation

friend class OpenAL_Output
friend

Member Data Documentation

ALuint MWSound::OpenAL_SoundStream::mBuffers[sNumBuffers]
private
ALuint MWSound::OpenAL_SoundStream::mBufferSize
private
ALint MWSound::OpenAL_SoundStream::mCurrentBufIdx
private
DecoderPtr MWSound::OpenAL_SoundStream::mDecoder
private
ALenum MWSound::OpenAL_SoundStream::mFormat
private
ALuint MWSound::OpenAL_SoundStream::mFrameSize
private
volatile bool MWSound::OpenAL_SoundStream::mIsFinished
private
std::auto_ptr<Sound_Loudness> MWSound::OpenAL_SoundStream::mLoudnessAnalyzer
private
ALsizei MWSound::OpenAL_SoundStream::mSampleRate
private
ALint MWSound::OpenAL_SoundStream::mSilence
private
ALuint MWSound::OpenAL_SoundStream::mSource
private
const ALfloat MWSound::OpenAL_SoundStream::sBufferLength = 0.125f
staticprivate
const ALuint MWSound::OpenAL_SoundStream::sNumBuffers = 6
staticprivate

The documentation for this class was generated from the following file: