ScummVM API documentation
Bagel::CBofSound Class Reference
Inheritance diagram for Bagel::CBofSound:
Bagel::CBofError Bagel::CBofObject Bagel::CLList

Public Member Functions

 CBofSound (CBofWindow *pWnd, const char *pszPathName, uint16 wFlags, int nLoops=1)
 
bool midiLoopPlaySegment (uint32 LoopBegin, uint32 LoopEnd=0L, uint32 FirstPassBegin=0L, uint32 TimeFmt=1)
 
bool play (uint32 StartOfPlay=0L, uint32 TimeFmtFlag=1)
 
bool pause ()
 
bool resume ()
 
void stop ()
 
CBofSoundgetNext ()
 
CBofSoundgetPrev ()
 
char * getFileName ()
 
void setFlags (uint16 wFlags)
 
uint16 getFlags ()
 
bool playing ()
 
bool isPlaying ()
 
bool isQueued ()
 
bool paused ()
 
void setQSlot (int nSlot)
 
int getQSlot ()
 
void setVolume (int nVol)
 
int getVolume ()
 
ErrorCode playWAV ()
 
- Public Member Functions inherited from Bagel::CBofError
void reportError (ErrorCode errCode, const char *format,...)
 
bool errorOccurred () const
 
ErrorCode getErrorCode () const
 
void clearError ()
 
- Public Member Functions inherited from Bagel::CLList
 CLList ()
 
 CLList (void *pObj)
 
virtual ~CLList ()
 
void Insert (CLList *pNewList)
 
void Delete ()
 
void addToHead (CLList *pNewList)
 
void addToTail (CLList *pNewList)
 
void MoveToHead ()
 
void MoveToTail ()
 
void MoveLeft ()
 
void MoveRight ()
 
CLListgetHead ()
 
CLListgetTail ()
 
CLListgetPrev () const
 
CLListgetNext () const
 
void * getData () const
 
void PutData (void *pObj)
 
void FlushList ()
 

Static Public Member Functions

static void initialize ()
 
static void shutdown ()
 
static void setVolume (int MidiVolume, int WaveVolume)
 
static bool soundPlaying ()
 
static bool waveSoundPlaying ()
 
static bool midiSoundPlaying ()
 
static bool soundsPlayingNotOver ()
 
static void setQVol (int nSlot, int nVol)
 
static ErrorCode flushQueue (int nSlot)
 
static void resetQVolumes ()
 
static bool pauseSounds ()
 
static bool resumeSounds ()
 
static void stopSounds ()
 
static void stopWaveSounds ()
 
static void stopMidiSounds ()
 
static void clearSounds ()
 
static void clearWaveSounds ()
 
static void clearMidiSounds ()
 
static void waitSounds ()
 
static void waitWaveSounds ()
 
static void waitMidiSounds ()
 
static bool handleMessages ()
 
static bool bofSleep (uint32 dwTime)
 
static void audioTask ()
 
static bool soundsPlaying ()
 
- Static Public Member Functions inherited from Bagel::CBofError
static void fatalError (ErrorCode errCode, const char *format,...)
 
static void initialize ()
 
static int getErrorCount ()
 
- Static Public Member Functions inherited from Bagel::CBofObject
static bool isValidObject (const CBofObject *pObject)
 

Additional Inherited Members

- Protected Member Functions inherited from Bagel::CBofError
virtual void bofMessageBox (const Common::String &content, const Common::String &title)
 
- Protected Attributes inherited from Bagel::CBofError
ErrorCode _errCode
 
- Protected Attributes inherited from Bagel::CLList
CLList_pPrev
 
CLList_pNext
 
void * _pData
 
- Static Protected Attributes inherited from Bagel::CBofError
static int _count
 

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