Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

audioDriver Class Reference

This class is another audio driver abstraction, a thin wrapper around the architecture specified sound driver. More...

#include <hpux_audiodrv.h>

List of all members.

Public Member Functions

bool IsThere ()
 Check device availability and write permissions.

bool Open (udword freq, int precision, int channels, int fragments, int fragBase)
 Open the sound device.

void Close ()
 Close an opened audio device, free any allocated buffers and reset any variables that reflect the current state.

void Play (ubyte *buffer, int bufferSize)
 play a buffer with samples.

bool Reset ()
int GetAudioHandle ()
udword GetFrequency ()
int GetChannels ()
int GetSamplePrecision ()
int GetSampleEncoding ()
int GetBlockSize ()
int GetFragments ()
int GetFragSizeBase ()
const char * GetErrorString ()
bool IsThere ()
bool Open (udword freq, int precision, int channels, int fragments, int fragBase)
void Close ()
void Play (ubyte *buffer, int bufferSize)
bool Reset ()
int GetAudioHandle ()
udword GetFrequency ()
int GetChannels ()
int GetSamplePrecision ()
int GetSampleEncoding ()
int GetBlockSize ()
int GetFragments ()
int GetFragSizeBase ()
const char * GetErrorString ()
bool IsThere ()
bool Open (udword freq, int precision, int channels, int fragments, int fragBase)
void Close ()
void Play (ubyte *buffer, int bufferSize)
bool Reset ()
int GetAudioHandle ()
udword GetFrequency ()
int GetChannels ()
int GetSamplePrecision ()
int GetSampleEncoding ()
int GetBlockSize ()
int GetFragments ()
int GetFragSizeBase ()
const char * GetErrorString ()
bool IsThere ()
bool Open (udword freq, int precision, int channels, int fragments, int fragBase)
void Close ()
void Play (ubyte *buffer, int bufferSize)
bool Reset ()
int GetAudioHandle ()
udword GetFrequency ()
int GetChannels ()
int GetSamplePrecision ()
int GetSampleEncoding ()
int GetBlockSize ()
int GetFragments ()
int GetFragSizeBase ()
const char * GetErrorString ()
bool IsThere ()
bool Open (udword freq, int precision, int channels, int fragments, int fragBase)
void Close ()
void Play (ubyte *buffer, int bufferSize)
bool Reset ()
int GetAudioHandle ()
udword GetFrequency ()
int GetChannels ()
int GetSamplePrecision ()
int GetSampleEncoding ()
int GetBlockSize ()
int GetFragments ()
int GetFragSizeBase ()
const char * GetErrorString ()
 audioDriver ()
 C'tor.

bool IsThere ()
bool Open (udword freq, int precision, int channels, int fragments, int fragBase)
void Close ()
void Play (ubyte *buffer, int bufferSize)
bool Reset ()
int GetAudioHandle ()
udword GetFrequency ()
int GetChannels ()
int GetSamplePrecision ()
int GetSampleEncoding ()
int GetBlockSize ()
int GetFragments ()
int GetFragSizeBase ()
const char * GetErrorString ()
 audioDriver ()
 ~audioDriver ()
 D'tor.

bool IsThere ()
bool Open (udword freq, int precision, int channels, int fragments, int fragBase)
void Close ()
void Play (ubyte *buffer, int bufferSize)
TInt VolumeDelta (TInt aDelta)
 increase or decrease the volume by aDelta, and return the new volume

bool Reset ()
int GetAudioHandle ()
udword GetFrequency ()
int GetChannels ()
int GetSamplePrecision ()
int GetSampleEncoding ()
int GetBlockSize ()
int GetFragments ()
int GetFragSizeBase ()
const char * GetErrorString ()
 audioDriver ()
void ConstructL ()
 Reset everything, create and open audio stream.

 ~audioDriver ()
bool IsThere ()
bool Open (udword freq, int precision, int channels, int fragments, int fragBase)
void Close ()
void Play (ubyte *buffer, int bufferSize)
void StopStream ()
 Close the audio stream.

TInt VolumeDelta (TInt aDelta)
virtual void MaoscOpenComplete (TInt aError)
 from MMdaAudioOutputStreamCallback

virtual void MaoscBufferCopied (TInt aError, const TDesC8 &aBuffer)
 called by Media Surfer when finished copying

virtual void MaoscPlayComplete (TInt aError)
 called by Media Surfer when stream was played

TInt StartWavDump (const TDesC &aSidTune)
 Start dumping to WAV file.

TInt StopWavDump ()
 Stop dumping to WAV file.

TBool IsWavDumping ()
 Return status of WAV dumping.

bool Reset ()
int GetAudioHandle ()
udword GetFrequency ()
int GetChannels ()
int GetSamplePrecision ()
int GetSampleEncoding ()
int GetBlockSize ()
int GetFragments ()
int GetFragSizeBase ()
const char * GetErrorString ()

Public Attributes

TBool iIsReady
 true if audio device is opened

TInt iBlocksInQueue
 number of blocks in audio stream queue

TBool iPrefilled
 set to true after FillBuffer is called


Private Member Functions

void DoWavDump (const TDesC8 &aBuffer)
 Dump one PCM fragment to the WAV file.

void ResetStream ()
 Reset the audio stream.


Private Attributes

const char AUDIODEVICE [] = "/dev/audio"
int audioHd
const char * errorString
int blockSize
udword frequency
int encoding
int precision
int channels
const char * errorString
int fragments
int fragSizeBase
const char * errorString
ALport audio
ALconfig config
const char * errorString
const char * errorString
const char * errorString
const char * errorString
RMdaDevSound iDevSound
const char * errorString
TInt iVolume
CMdaAudioOutputStream * iMdaAudio
 pointer to audio stream

TMdaAudioDataSettings iSettings
 audio settings

TBuf8< KDefaultBufSize *2 > iExtraBuf
 extra double buffering

RFs iFs
 Handle to fileserver for wav dumping.

TFileName iWavDump
 Filename of wavefile.

TBool iIsWavDumping
 True if wav dumping is active.


Detailed Description

This class is another audio driver abstraction, a thin wrapper around the architecture specified sound driver.

In this case it interfaces the RDevSound class available in the ER5 version of EPOC32.

Definition at line 17 of file hpux_audiodrv.h.


Constructor & Destructor Documentation

audioDriver::audioDriver  ) 
 

C'tor.

Definition at line 7 of file hpux_audiodrv.cpp.

References audioHd, channels, encoding, errorString, frequency, and precision.

audioDriver::audioDriver  ) 
 

audioDriver::~audioDriver  ) 
 

D'tor.

Definition at line 41 of file audiodrv_epoc.cpp.

References DTOR.

audioDriver::audioDriver  ) 
 

audioDriver::~audioDriver  ) 
 


Member Function Documentation

void audioDriver::Close  ) 
 

void audioDriver::Close  ) 
 

void audioDriver::Close  ) 
 

void audioDriver::Close  ) 
 

void audioDriver::Close  ) 
 

void audioDriver::Close  ) 
 

void audioDriver::Close  ) 
 

void audioDriver::Close  ) 
 

Close an opened audio device, free any allocated buffers and reset any variables that reflect the current state.

Definition at line 83 of file hpux_audiodrv.cpp.

References audioHd.

void audioDriver::ConstructL  ) 
 

Reset everything, create and open audio stream.

Definition at line 74 of file audiodrv_er6.cpp.

References errorString, iMdaAudio, and iSettings.

Referenced by CSidPlayer::InitL(), and InitMainL().

void audioDriver::DoWavDump const TDesC8 &  aBuffer  )  [private]
 

Dump one PCM fragment to the WAV file.

Definition at line 461 of file audiodrv_er6.cpp.

References ELOG2, iFs, iWavDump, and KFileOpenWritable.

int audioDriver::GetAudioHandle  )  [inline]
 

Definition at line 72 of file audiodrv_er6.h.

References audioHd.

int audioDriver::GetAudioHandle  )  [inline]
 

Definition at line 49 of file audiodrv_epoc.h.

References audioHd.

int audioDriver::GetAudioHandle  )  [inline]
 

Definition at line 42 of file audiodrv.h.

References audioHd.

int audioDriver::GetAudioHandle  )  [inline]
 

Definition at line 44 of file sparc_audiodrv.h.

References audioHd.

int audioDriver::GetAudioHandle  )  [inline]
 

Definition at line 38 of file sgi_audiodrv.h.

References audioHd.

int audioDriver::GetAudioHandle  )  [inline]
 

Definition at line 41 of file linux_pcsnd_audiodrv.h.

References audioHd.

int audioDriver::GetAudioHandle  )  [inline]
 

Definition at line 41 of file linux_audiodrv.h.

References audioHd.

int audioDriver::GetAudioHandle  )  [inline]
 

Definition at line 36 of file hpux_audiodrv.h.

References audioHd.

int audioDriver::GetBlockSize  )  [inline]
 

Definition at line 77 of file audiodrv_er6.h.

References blockSize.

int audioDriver::GetBlockSize  )  [inline]
 

Definition at line 54 of file audiodrv_epoc.h.

References blockSize.

int audioDriver::GetBlockSize  )  [inline]
 

Definition at line 67 of file audiodrv.h.

References blockSize.

int audioDriver::GetBlockSize  )  [inline]
 

Definition at line 69 of file sparc_audiodrv.h.

References frequency.

int audioDriver::GetBlockSize  )  [inline]
 

Definition at line 63 of file sgi_audiodrv.h.

References blockSize.

int audioDriver::GetBlockSize  )  [inline]
 

Definition at line 66 of file linux_pcsnd_audiodrv.h.

References blockSize.

int audioDriver::GetBlockSize  )  [inline]
 

Definition at line 66 of file linux_audiodrv.h.

References blockSize.

int audioDriver::GetBlockSize  )  [inline]
 

Definition at line 61 of file hpux_audiodrv.h.

References blockSize.

Referenced by CSidPlayer::InitL(), InitMainL(), and main().

int audioDriver::GetChannels  )  [inline]
 

Definition at line 74 of file audiodrv_er6.h.

int audioDriver::GetChannels  )  [inline]
 

Definition at line 51 of file audiodrv_epoc.h.

References channels.

int audioDriver::GetChannels  )  [inline]
 

Definition at line 52 of file audiodrv.h.

References channels.

int audioDriver::GetChannels  )  [inline]
 

Definition at line 54 of file sparc_audiodrv.h.

References channels.

int audioDriver::GetChannels  )  [inline]
 

Definition at line 48 of file sgi_audiodrv.h.

References channels.

int audioDriver::GetChannels  )  [inline]
 

Definition at line 51 of file linux_pcsnd_audiodrv.h.

References channels.

int audioDriver::GetChannels  )  [inline]
 

Definition at line 51 of file linux_audiodrv.h.

References channels.

int audioDriver::GetChannels  )  [inline]
 

Definition at line 46 of file hpux_audiodrv.h.

const char* audioDriver::GetErrorString  )  [inline]
 

Definition at line 80 of file audiodrv_er6.h.

References errorString.

const char* audioDriver::GetErrorString  )  [inline]
 

Definition at line 57 of file audiodrv_epoc.h.

References errorString.

const char* audioDriver::GetErrorString  )  [inline]
 

Definition at line 82 of file audiodrv.h.

References errorString.

const char* audioDriver::GetErrorString  )  [inline]
 

Definition at line 84 of file sparc_audiodrv.h.

References errorString.

const char* audioDriver::GetErrorString  )  [inline]
 

Definition at line 78 of file sgi_audiodrv.h.

References errorString.

const char* audioDriver::GetErrorString  )  [inline]
 

Definition at line 81 of file linux_pcsnd_audiodrv.h.

References errorString.

const char* audioDriver::GetErrorString  )  [inline]
 

Definition at line 81 of file linux_audiodrv.h.

References errorString.

const char* audioDriver::GetErrorString  )  [inline]
 

Definition at line 76 of file hpux_audiodrv.h.

References errorString.

Referenced by InitMainL(), and main().

int audioDriver::GetFragments  )  [inline]
 

Definition at line 78 of file audiodrv_er6.h.

References fragments.

int audioDriver::GetFragments  )  [inline]
 

Definition at line 55 of file audiodrv_epoc.h.

References fragments.

int audioDriver::GetFragments  )  [inline]
 

Definition at line 72 of file audiodrv.h.

References fragments.

int audioDriver::GetFragments  )  [inline]
 

Definition at line 74 of file sparc_audiodrv.h.

int audioDriver::GetFragments  )  [inline]
 

Definition at line 68 of file sgi_audiodrv.h.

int audioDriver::GetFragments  )  [inline]
 

Definition at line 71 of file linux_pcsnd_audiodrv.h.

References fragments.

int audioDriver::GetFragments  )  [inline]
 

Definition at line 71 of file linux_audiodrv.h.

References fragments.

int audioDriver::GetFragments  )  [inline]
 

Definition at line 66 of file hpux_audiodrv.h.

Referenced by InitMainL(), and main().

int audioDriver::GetFragSizeBase  )  [inline]
 

Definition at line 79 of file audiodrv_er6.h.

References fragSizeBase.

int audioDriver::GetFragSizeBase  )  [inline]
 

Definition at line 56 of file audiodrv_epoc.h.

References fragSizeBase.

int audioDriver::GetFragSizeBase  )  [inline]
 

Definition at line 77 of file audiodrv.h.

References fragSizeBase.

int audioDriver::GetFragSizeBase  )  [inline]
 

Definition at line 79 of file sparc_audiodrv.h.

int audioDriver::GetFragSizeBase  )  [inline]
 

Definition at line 73 of file sgi_audiodrv.h.

int audioDriver::GetFragSizeBase  )  [inline]
 

Definition at line 76 of file linux_pcsnd_audiodrv.h.

References fragSizeBase.

int audioDriver::GetFragSizeBase  )  [inline]
 

Definition at line 76 of file linux_audiodrv.h.

References fragSizeBase.

int audioDriver::GetFragSizeBase  )  [inline]
 

Definition at line 71 of file hpux_audiodrv.h.

udword audioDriver::GetFrequency  )  [inline]
 

Definition at line 73 of file audiodrv_er6.h.

References frequency, and udword.

udword audioDriver::GetFrequency  )  [inline]
 

Definition at line 50 of file audiodrv_epoc.h.

References frequency, and udword.

udword audioDriver::GetFrequency  )  [inline]
 

Definition at line 47 of file audiodrv.h.

References frequency, and udword.

udword audioDriver::GetFrequency  )  [inline]
 

Definition at line 49 of file sparc_audiodrv.h.

References frequency, and udword.

udword audioDriver::GetFrequency  )  [inline]
 

Definition at line 43 of file sgi_audiodrv.h.

References frequency, and udword.

udword audioDriver::GetFrequency  )  [inline]
 

Definition at line 46 of file linux_pcsnd_audiodrv.h.

References frequency, and udword.

udword audioDriver::GetFrequency  )  [inline]
 

Definition at line 46 of file linux_audiodrv.h.

References frequency, and udword.

udword audioDriver::GetFrequency  )  [inline]
 

Definition at line 41 of file hpux_audiodrv.h.

References frequency, and udword.

Referenced by CSidPlayer::InitL(), InitMainL(), and main().

int audioDriver::GetSampleEncoding  )  [inline]
 

Definition at line 76 of file audiodrv_er6.h.

References encoding.

int audioDriver::GetSampleEncoding  )  [inline]
 

Definition at line 53 of file audiodrv_epoc.h.

References encoding.

int audioDriver::GetSampleEncoding  )  [inline]
 

Definition at line 62 of file audiodrv.h.

References encoding.

int audioDriver::GetSampleEncoding  )  [inline]
 

Definition at line 64 of file sparc_audiodrv.h.

References encoding.

int audioDriver::GetSampleEncoding  )  [inline]
 

Definition at line 58 of file sgi_audiodrv.h.

References encoding.

int audioDriver::GetSampleEncoding  )  [inline]
 

Definition at line 61 of file linux_pcsnd_audiodrv.h.

References encoding.

int audioDriver::GetSampleEncoding  )  [inline]
 

Definition at line 61 of file linux_audiodrv.h.

References encoding.

int audioDriver::GetSampleEncoding  )  [inline]
 

Definition at line 56 of file hpux_audiodrv.h.

References encoding.

Referenced by CSidPlayer::InitL(), InitMainL(), and main().

int audioDriver::GetSamplePrecision  )  [inline]
 

Definition at line 75 of file audiodrv_er6.h.

int audioDriver::GetSamplePrecision  )  [inline]
 

Definition at line 52 of file audiodrv_epoc.h.

References precision.

int audioDriver::GetSamplePrecision  )  [inline]
 

Definition at line 57 of file audiodrv.h.

References precision.

int audioDriver::GetSamplePrecision  )  [inline]
 

Definition at line 59 of file sparc_audiodrv.h.

References precision.

int audioDriver::GetSamplePrecision  )  [inline]
 

Definition at line 53 of file sgi_audiodrv.h.

References precision.

int audioDriver::GetSamplePrecision  )  [inline]
 

Definition at line 56 of file linux_pcsnd_audiodrv.h.

References precision.

int audioDriver::GetSamplePrecision  )  [inline]
 

Definition at line 56 of file linux_audiodrv.h.

References precision.

int audioDriver::GetSamplePrecision  )  [inline]
 

Definition at line 51 of file hpux_audiodrv.h.

Referenced by CSidPlayer::InitL(), InitMainL(), and main().

bool audioDriver::IsThere  ) 
 

bool audioDriver::IsThere  ) 
 

bool audioDriver::IsThere  ) 
 

bool audioDriver::IsThere  ) 
 

bool audioDriver::IsThere  ) 
 

bool audioDriver::IsThere  ) 
 

bool audioDriver::IsThere  ) 
 

bool audioDriver::IsThere  ) 
 

Check device availability and write permissions.

Returns:
bool true if audio device is available

Definition at line 18 of file hpux_audiodrv.cpp.

References AUDIODEVICE.

Referenced by CSidPlayer::InitL(), InitMainL(), and main().

TBool audioDriver::IsWavDumping  ) 
 

Return status of WAV dumping.

Definition at line 452 of file audiodrv_er6.cpp.

References iIsWavDumping.

Referenced by CSidPlayAppUi::HandleCommandL().

void audioDriver::MaoscBufferCopied TInt  aError,
const TDesC8 &  aBuffer
[virtual]
 

called by Media Surfer when finished copying

Note: In reality, this function is called approx. 1 millisecond after the last block was played, hence we have to generate buffer N+1 while buffer N is playing.

Definition at line 301 of file audiodrv_er6.cpp.

References ELOG2, iBlocksInQueue, and ResetStream().

void audioDriver::MaoscOpenComplete TInt  aError  )  [virtual]
 

from MMdaAudioOutputStreamCallback

called by Media Surfer when it is initialised (or not)

Definition at line 268 of file audiodrv_er6.cpp.

References ELOG2, iIsReady, iMdaAudio, iVolume, and KVolumeSteps.

void audioDriver::MaoscPlayComplete TInt  aError  )  [virtual]
 

called by Media Surfer when stream was played

Definition at line 325 of file audiodrv_er6.cpp.

References ELOG2, and ResetStream().

bool audioDriver::Open udword  freq,
int  precision,
int  channels,
int  fragments,
int  fragBase
 

bool audioDriver::Open udword  freq,
int  precision,
int  channels,
int  fragments,
int  fragBase
 

bool audioDriver::Open udword  freq,
int  precision,
int  channels,
int  fragments,
int  fragBase
 

bool audioDriver::Open udword  freq,
int  precision,
int  channels,
int  fragments,
int  fragBase
 

bool audioDriver::Open udword  freq,
int  precision,
int  channels,
int  fragments,
int  fragBase
 

bool audioDriver::Open udword  freq,
int  precision,
int  channels,
int  fragments,
int  fragBase
 

bool audioDriver::Open udword  freq,
int  precision,
int  channels,
int  fragments,
int  fragBase
 

bool audioDriver::Open udword  inFreq,
int  inPrecision,
int  inChannels,
int  inFragments,
int  inFragBase
 

Open the sound device.

Returns true if success.

Parameters:
inFreq Sampling frequency in Hz
inPrecision Number of bits pr. sample
inChannels Number of channels (Stereo=2)
inFragments number of audio buffer fragments to use
inFragBase size 2^ of audio buffer fragments
Returns:
true if success, false if errors

Definition at line 24 of file hpux_audiodrv.cpp.

References AUDIODEVICE, audioHd, blockSize, channels, encoding, errorString, frequency, precision, SIDEMU_16BIT, SIDEMU_SIGNED_PCM, and SIDEMU_STEREO.

Referenced by CSidPlayer::InitL(), InitMainL(), and main().

void audioDriver::Play ubyte buffer,
int  bufferSize
 

void audioDriver::Play ubyte buffer,
int  bufferSize
 

void audioDriver::Play ubyte buffer,
int  bufferSize
 

void audioDriver::Play ubyte buffer,
int  bufferSize
 

void audioDriver::Play ubyte buffer,
int  bufferSize
 

void audioDriver::Play ubyte buffer,
int  bufferSize
 

void audioDriver::Play ubyte buffer,
int  bufferSize
 

void audioDriver::Play ubyte pBuffer,
int  bufferSize
 

play a buffer with samples.

Because of the strange alaw API on the ER5 RDevSound class we have to convert the PCM data into alaw before playing them. This is adding one extra level of CPU eating overheader...

Parameters:
pBuffer pointer to the buffer to be player
bufferSize number of bytes in the buffer

Definition at line 92 of file hpux_audiodrv.cpp.

References audioHd.

Referenced by main(), SidPlayerThread(), and CSidPlayer::Thread().

bool audioDriver::Reset  )  [inline]
 

Definition at line 71 of file audiodrv_er6.h.

bool audioDriver::Reset  )  [inline]
 

Definition at line 44 of file audiodrv_epoc.h.

bool audioDriver::Reset  )  [inline]
 

Definition at line 37 of file audiodrv.h.

References audioHd.

bool audioDriver::Reset  )  [inline]
 

Definition at line 39 of file sparc_audiodrv.h.

bool audioDriver::Reset  )  [inline]
 

Definition at line 33 of file sgi_audiodrv.h.

bool audioDriver::Reset  )  [inline]
 

Definition at line 36 of file linux_pcsnd_audiodrv.h.

References audioHd.

bool audioDriver::Reset  )  [inline]
 

Definition at line 36 of file linux_audiodrv.h.

References audioHd.

bool audioDriver::Reset  )  [inline]
 

Definition at line 31 of file hpux_audiodrv.h.

void audioDriver::ResetStream void   )  [private]
 

Reset the audio stream.

Definition at line 240 of file audiodrv_er6.cpp.

References iBlocksInQueue, and iPrefilled.

Referenced by MaoscBufferCopied(), MaoscPlayComplete(), and StopStream().

TInt audioDriver::StartWavDump const TDesC &  aSidTune  ) 
 

Start dumping to WAV file.

Definition at line 343 of file audiodrv_er6.cpp.

References ELOG, ELOG1, ELOG2, iFs, iIsWavDumping, iWavDump, KFileOpenWritable, and my_wav_hdr.

Referenced by CSidPlayAppUi::HandleCommandL().

void audioDriver::StopStream void   ) 
 

Close the audio stream.

Definition at line 226 of file audiodrv_er6.cpp.

References iIsReady, iMdaAudio, and ResetStream().

Referenced by CSidPlayer::SongDelta(), CSidPlayer::SongSelect(), and CSidPlayer::Stop().

TInt audioDriver::StopWavDump  ) 
 

Stop dumping to WAV file.

Definition at line 394 of file audiodrv_er6.cpp.

References ELOG, ELOG2, iFs, iIsWavDumping, iWavDump, and KFileOpenWritable.

Referenced by CSidPlayAppUi::HandleCommandL().

TInt audioDriver::VolumeDelta TInt  aDelta  ) 
 

TInt audioDriver::VolumeDelta TInt  aDelta  ) 
 

increase or decrease the volume by aDelta, and return the new volume

Definition at line 312 of file audiodrv_epoc.cpp.

References iDevSound.

Referenced by CConsoleReader::RunL(), and CSidPlayer::VolumeDelta().


Member Data Documentation

ALport audioDriver::audio [private]
 

Definition at line 85 of file sgi_audiodrv.h.

const char audioDriver::AUDIODEVICE = "/dev/audio" [private]
 

Definition at line 89 of file audiodrv.h.

Referenced by IsThere(), and Open().

int audioDriver::audioHd [private]
 

Definition at line 85 of file audiodrv_er6.h.

Referenced by audioDriver(), Close(), GetAudioHandle(), Open(), Play(), and Reset().

int audioDriver::blockSize [private]
 

Definition at line 87 of file audiodrv_er6.h.

Referenced by GetBlockSize(), and Open().

int audioDriver::channels [private]
 

Definition at line 95 of file audiodrv_er6.h.

Referenced by audioDriver(), GetChannels(), and Open().

ALconfig audioDriver::config [private]
 

Definition at line 86 of file sgi_audiodrv.h.

int audioDriver::encoding [private]
 

Definition at line 93 of file audiodrv_er6.h.

Referenced by audioDriver(), GetSampleEncoding(), and Open().

const char* audioDriver::errorString [private]
 

Definition at line 86 of file audiodrv_er6.h.

const char* audioDriver::errorString [private]
 

Definition at line 61 of file audiodrv_epoc.h.

const char* audioDriver::errorString [private]
 

Definition at line 92 of file audiodrv.h.

const char* audioDriver::errorString [private]
 

Definition at line 94 of file sparc_audiodrv.h.

const char* audioDriver::errorString [private]
 

Definition at line 88 of file sgi_audiodrv.h.

const char* audioDriver::errorString [private]
 

Definition at line 91 of file linux_pcsnd_audiodrv.h.

const char* audioDriver::errorString [private]
 

Definition at line 91 of file linux_audiodrv.h.

const char* audioDriver::errorString [private]
 

Definition at line 86 of file hpux_audiodrv.h.

Referenced by audioDriver(), ConstructL(), GetErrorString(), and Open().

int audioDriver::fragments [private]
 

Definition at line 88 of file audiodrv_er6.h.

Referenced by GetFragments().

int audioDriver::fragSizeBase [private]
 

Definition at line 89 of file audiodrv_er6.h.

Referenced by GetFragSizeBase().

udword audioDriver::frequency [private]
 

Definition at line 90 of file audiodrv_er6.h.

Referenced by audioDriver(), GetBlockSize(), GetFrequency(), and Open().

TInt audioDriver::iBlocksInQueue
 

number of blocks in audio stream queue

Definition at line 103 of file audiodrv_er6.h.

Referenced by MaoscBufferCopied(), ResetStream(), SidPlayerThread(), and CSidPlayer::Thread().

RMdaDevSound audioDriver::iDevSound [private]
 

Definition at line 73 of file audiodrv_epoc.h.

Referenced by VolumeDelta().

TBuf8<KDefaultBufSize*2> audioDriver::iExtraBuf [private]
 

extra double buffering

Definition at line 100 of file audiodrv_er6.h.

RFs audioDriver::iFs [private]
 

Handle to fileserver for wav dumping.

Definition at line 106 of file audiodrv_er6.h.

Referenced by DoWavDump(), StartWavDump(), and StopWavDump().

TBool audioDriver::iIsReady
 

true if audio device is opened

Definition at line 102 of file audiodrv_er6.h.

Referenced by MaoscOpenComplete(), SidPlayerThread(), StopStream(), and CSidPlayer::Thread().

TBool audioDriver::iIsWavDumping [private]
 

True if wav dumping is active.

Definition at line 108 of file audiodrv_er6.h.

Referenced by IsWavDumping(), StartWavDump(), and StopWavDump().

CMdaAudioOutputStream* audioDriver::iMdaAudio [private]
 

pointer to audio stream

Definition at line 98 of file audiodrv_er6.h.

Referenced by ConstructL(), MaoscOpenComplete(), and StopStream().

TBool audioDriver::iPrefilled
 

set to true after FillBuffer is called

Definition at line 104 of file audiodrv_er6.h.

Referenced by ResetStream(), SidPlayerThread(), and CSidPlayer::Thread().

TMdaAudioDataSettings audioDriver::iSettings [private]
 

audio settings

Definition at line 99 of file audiodrv_er6.h.

Referenced by ConstructL().

TInt audioDriver::iVolume [private]
 

Definition at line 97 of file audiodrv_er6.h.

Referenced by MaoscOpenComplete().

TFileName audioDriver::iWavDump [private]
 

Filename of wavefile.

Definition at line 107 of file audiodrv_er6.h.

Referenced by DoWavDump(), StartWavDump(), and StopWavDump().

int audioDriver::precision [private]
 

Definition at line 94 of file audiodrv_er6.h.

Referenced by audioDriver(), GetSamplePrecision(), and Open().


The documentation for this class was generated from the following files:
Generated on Tue Feb 8 04:31:52 2005 for Esidplay by doxygen 1.3.3