ScummVM API documentation
TownsAudioInterface Class Reference

Public Types

enum  ErrorCode {
  kSuccess = 0, kInvalidChannel, kUnavailable, kArgumentOutOfRange,
  kNotImplemented, kOutOfWaveMemory, kInvalidWaveTable, kChannelNotReserved,
  kNoteOutOfRangeForInstrument, kNoMatchingWaveTable, kDuplicateWaveTable
}
 

Public Member Functions

 TownsAudioInterface (Audio::Mixer *mixer, TownsAudioInterfacePluginDriver *driver, bool externalMutex=false)
 
bool init ()
 
ErrorCode callback (int command,...)
 
void setMusicVolume (int volume)
 
void setSoundEffectVolume (int volume)
 
void setSoundEffectChanMask (int mask)
 

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