ScummVM API documentation
Kyra::HalestormDriver Class Reference

Public Types

enum  InterpolationMode { kNone = 0, kSimple = 1, kTable = 2 }
 
enum  HSCommands {
  kSongPlayOnce = 0, kSongPlayLoop = 1, kSongAbort = 2, kSongIsPlaying = 3,
  kSongFadeOut = 10, kSongFadeIn = 11, kSongFadeGetState = 12, kSongFadeReset = 13,
  kSetRateAndIntrplMode = 14
}
 

Public Member Functions

 HalestormDriver (SoundMacRes *res, Audio::Mixer *mixer)
 
bool init (bool hiQuality, InterpolationMode imode, int numChanSfx, bool output16bit)
 
void registerSamples (const uint16 *resList, bool registerOnly)
 
void releaseSamples ()
 
int changeSystemVoices (int numChanMusicTotal, int numChanMusicPoly, int numChanSfx)
 
void startSoundEffect (int id, int rate=0)
 
void enqueueSoundEffect (int id, int rate, int note)
 
void stopSoundEffect (int id)
 
void stopAllSoundEffects ()
 
int doCommand (int cmd,...)
 
void setMusicVolume (int volume)
 
void setSoundEffectVolume (int volume)
 

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