ScummVM API documentation
Cruise::PCSound Class Reference

Public Member Functions

 PCSound (Audio::Mixer *mixer, CruiseEngine *vm)
 
virtual void loadMusic (const char *name)
 
virtual void playMusic ()
 
virtual void stopMusic ()
 
virtual void removeMusic ()
 
virtual void fadeOutMusic ()
 
virtual void playSound (const uint8 *data, int size, int volume)
 
virtual void stopSound (int channel)
 
void doSync (Common::Serializer &s)
 
const char * musicName ()
 
void stopChannel (int channel)
 
bool isPlaying () const
 
bool songLoaded () const
 
bool songPlayed () const
 
void fadeSong ()
 
uint8 numOrders () const
 
void setNumOrders (uint8 v)
 
void setPattern (int offset, uint8 value)
 
bool musicLooping () const
 
void musicLoop (bool v)
 
void startNote (int channel, int volume, int freq)
 
void syncSounds ()
 
void setVolume (int volume)
 
uint8 getVolume () const
 

Protected Attributes

PCSoundDriver * _soundDriver
 
PCSoundFxPlayer * _player
 

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