ScummVM API documentation
Xeen::SoundDriverAdlib Class Reference
Inheritance diagram for Xeen::SoundDriverAdlib:
Xeen::SoundDriver

Public Member Functions

 SoundDriverAdlib ()
 
 ~SoundDriverAdlib () 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
 
- Public Member Functions inherited from Xeen::SoundDriver
 SoundDriver ()
 
virtual ~SoundDriver ()
 
void stopFX ()
 
bool isPlaying () const
 

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 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
 
- Protected Member Functions inherited from 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 cmdFreezeFrequency (const byte *&srcP, byte param)
 
virtual bool cmdChangeFrequency (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 Xeen::SoundDriver
enum  StreamType { stMUSIC, stFX, stLAST }
 
- Protected Attributes inherited from Xeen::SoundDriver
Common::Array< Channel_channels
 
Stream _streams [stLAST]
 

Constructor & Destructor Documentation

◆ SoundDriverAdlib()

Xeen::SoundDriverAdlib::SoundDriverAdlib ( )

Constructor

◆ ~SoundDriverAdlib()

Xeen::SoundDriverAdlib::~SoundDriverAdlib ( )
override

Destructor

Member Function Documentation

◆ pausePostProcess()

void Xeen::SoundDriverAdlib::pausePostProcess ( )
overrideprotectedvirtual

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

Implements Xeen::SoundDriver.

◆ resetFX()

void Xeen::SoundDriverAdlib::resetFX ( )
overrideprotectedvirtual

Does a reset of any sound effect

Implements Xeen::SoundDriver.

◆ playFX()

void Xeen::SoundDriverAdlib::playFX ( uint  effectId,
const byte *  data 
)
overridevirtual

Starts an special effect playing

Reimplemented from Xeen::SoundDriver.

◆ playSong()

void Xeen::SoundDriverAdlib::playSong ( const byte *  data)
overridevirtual

Plays a song

Reimplemented from Xeen::SoundDriver.

◆ songCommand()

int Xeen::SoundDriverAdlib::songCommand ( uint  commandId,
byte  musicVolume = 0,
byte  sfxVolume = 0 
)
overridevirtual

Executes special music command

Reimplemented from Xeen::SoundDriver.


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