ScummVM API documentation
MM::Shared::Xeen::SoundDriverMT32 Class Reference
Inheritance diagram for MM::Shared::Xeen::SoundDriverMT32:
MM::Shared::Xeen::SoundDriver

Public Member Functions

 SoundDriverMT32 ()
 
 ~SoundDriverMT32 () override
 
void playFX (uint effectId, const byte *data) override
 
void playSong (const byte *data) override
 
int songCommand (uint commandId, byte musicVolume=0, byte sfxVolume=0) override
 
void onTimer ()
 
- Public Member Functions inherited from MM::Shared::Xeen::SoundDriver
 SoundDriver ()
 
virtual ~SoundDriver ()
 
void stopFX (bool force=false)
 
bool isPlaying () const
 

Public Attributes

MidiDriver_midiDriver
 
uint32 _timerCount
 

Protected Member Functions

bool musSetInstrument (const byte *&srcP, byte param) override
 
bool musSetPitchWheel (const byte *&srcP, byte param) override
 
bool musSetPanning (const byte *&srcP, byte param) override
 
bool musFade (const byte *&srcP, byte param) override
 
bool musStartNote (const byte *&srcP, byte param) override
 
bool musSetVolume (const byte *&srcP, byte param) override
 
bool musInjectMidi (const byte *&srcP, byte param) override
 
bool musPlayInstrument (const byte *&srcP, byte param) override
 
bool cmdFreezeFrequency (const byte *&srcP, byte param) override
 
bool cmdChangeFrequency (const byte *&srcP, byte param) override
 
bool fxSetInstrument (const byte *&srcP, byte param) override
 
bool fxSetVolume (const byte *&srcP, byte param) override
 
bool fxMidiReset (const byte *&srcP, byte param) override
 
bool fxMidiDword (const byte *&srcP, byte param) override
 
bool fxSetPanning (const byte *&srcP, byte param) override
 
bool fxChannelOff (const byte *&srcP, byte param) override
 
bool fxFade (const byte *&srcP, byte param) override
 
bool fxStartNote (const byte *&srcP, byte param) override
 
bool fxInjectMidi (const byte *&srcP, byte param) override
 
bool fxPlayInstrument (const byte *&srcP, byte param) override
 
void pausePostProcess () override
 
void resetFX () override
 
void sysExMessage (const byte *&data) override
 
- Protected Member Functions inherited from MM::Shared::Xeen::SoundDriver
void execute ()
 
virtual bool musCallSubroutine (const byte *&srcP, byte param)
 
virtual bool musSetCountdown (const byte *&srcP, byte param)
 
virtual bool cmdNoOperation (const byte *&srcP, byte param)
 
virtual bool musSkipWord (const byte *&srcP, byte param)
 
virtual bool musEndSubroutine (const byte *&srcP, byte param)
 
virtual bool fxCallSubroutine (const byte *&srcP, byte param)
 
virtual bool fxSetCountdown (const byte *&srcP, byte param)
 
virtual bool fxEndSubroutine (const byte *&srcP, byte param)
 

Additional Inherited Members

- Protected Types inherited from MM::Shared::Xeen::SoundDriver
enum  StreamType { stMUSIC, stFX, stLAST }
 
- Protected Attributes inherited from MM::Shared::Xeen::SoundDriver
Common::Array< Channel_channels
 
Stream _streams [stLAST]
 

Constructor & Destructor Documentation

◆ SoundDriverMT32()

MM::Shared::Xeen::SoundDriverMT32::SoundDriverMT32 ( )

Constructor

◆ ~SoundDriverMT32()

MM::Shared::Xeen::SoundDriverMT32::~SoundDriverMT32 ( )
override

Destructor

Member Function Documentation

◆ pausePostProcess()

void MM::Shared::Xeen::SoundDriverMT32::pausePostProcess ( )
overrideprotectedvirtual

Post-processing done when a pause countdown starts or is in progress

Implements MM::Shared::Xeen::SoundDriver.

◆ resetFX()

void MM::Shared::Xeen::SoundDriverMT32::resetFX ( )
overrideprotectedvirtual

Does a reset of any sound effect

Implements MM::Shared::Xeen::SoundDriver.

◆ sysExMessage()

void MM::Shared::Xeen::SoundDriverMT32::sysExMessage ( const byte *&  data)
overrideprotectedvirtual

Sends SysEx message

Implements MM::Shared::Xeen::SoundDriver.

◆ playFX()

void MM::Shared::Xeen::SoundDriverMT32::playFX ( uint  effectId,
const byte *  data 
)
overridevirtual

Starts a special effect playing

Reimplemented from MM::Shared::Xeen::SoundDriver.

◆ playSong()

void MM::Shared::Xeen::SoundDriverMT32::playSong ( const byte *  data)
overridevirtual

Plays a song

Reimplemented from MM::Shared::Xeen::SoundDriver.

◆ songCommand()

int MM::Shared::Xeen::SoundDriverMT32::songCommand ( uint  commandId,
byte  musicVolume = 0,
byte  sfxVolume = 0 
)
overridevirtual

Executes special music command

Reimplemented from MM::Shared::Xeen::SoundDriver.

◆ onTimer()

void MM::Shared::Xeen::SoundDriverMT32::onTimer ( )

Timer function for MT32


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