ScummVM API documentation
MADS::RexNebular::RexASound Class Reference
Inheritance diagram for MADS::RexNebular::RexASound:
MADS::RexNebular::ASound MADS::SoundDriver MADS::RexNebular::ASound1 MADS::RexNebular::ASound2 MADS::RexNebular::ASound3 MADS::RexNebular::ASound4 MADS::RexNebular::ASound5 MADS::RexNebular::ASound6 MADS::RexNebular::ASound7 MADS::RexNebular::ASound8 MADS::RexNebular::ASound9

Public Member Functions

 RexASound (Audio::Mixer *mixer, const Common::Path &filename, int dataOffset, int dataSize)
 
- Public Member Functions inherited from MADS::RexNebular::ASound
 ASound (Audio::Mixer *mixer, const Common::Path &filename, int dataOffset, int dataSize)
 
 ~ASound () override
 
int stop () override
 
int poll () override
 
void noise () override
 
int getFrameCounter ()
 
void setVolume (int volume) override
 
- Public Member Functions inherited from MADS::SoundDriver
 SoundDriver (Audio::Mixer *mixer, const Common::Path &filename, int dataOffset, int dataSize)
 
virtual int command (int commandId, int param)=0
 

Protected Member Functions

void channelCommand (byte *&pSrc, bool &updateFlag) override
 
- Protected Member Functions inherited from MADS::RexNebular::ASound
virtual void tickCallback ()
 
byte * loadData (int offset)
 
int getDataOffset (byte *ptr) const
 
void loadSample (int sampleIndex)
 
void write (int reg, int val)
 
int write2 (int state, int reg, int val)
 
void flush ()
 
void channelOn (int reg, int volume)
 
void channelOff (int reg)
 
void resultCheck ()
 
void playSound (int offset)
 
void playSoundAny (int offset)
 
void playSoundData (byte *pData, int startingChannel=5)
 
bool isSoundActive (byte *pData)
 
void setFrequency (int channel, int freq)
 
int getRandomNumber ()
 
byte * getDataPtr (int nearPtr)
 
virtual int command0 ()
 
int command1 ()
 
int command2 ()
 
int command3 ()
 
int command4 ()
 
int command5 ()
 
int command6 ()
 
int command7 ()
 
int command8 ()
 
int nullCommand ()
 
- Protected Member Functions inherited from MADS::SoundDriver
Common::MemoryReadStream getDataStream (int offset) const
 

Additional Inherited Members

- Static Public Member Functions inherited from MADS::RexNebular::ASound
static void validate ()
 
- Public Attributes inherited from MADS::RexNebular::ASound
AdlibChannel _channels [9]
 
AdlibChannel * _activeChannelPtr
 
AdlibChannelData _channelData [11]
 
Common::Array< AdlibSample > _samples
 
AdlibSample * _samplePtr
 
Common::Queue< RegisterValue > _queue
 
int _frameCounter
 
bool _isDisabled
 
int _noiseTicks1
 
int _noiseTicks2
 
int _activeChannelNumber
 
int _freqMask1
 
int _freqMask2
 
int _freqBase1
 
int _freqBase2
 
int _noiseChannel1
 
int _noiseChannel2
 
int _noiseFreqStep1
 
int _noiseFreqStep2
 
int _savedNoiseTicks1
 
int _savedNoiseTicks2
 
int _pollResult
 
int _resultFlag
 
byte _nullData [2]
 
int _ports [256]
 
bool _stateFlag
 
int _activeChannelReg
 
int _outputReg
 
bool _amDep
 
bool _vibDep
 
bool _splitPoint
 
- Protected Attributes inherited from MADS::RexNebular::ASound
int _chanCommandCount
 
int _commandParam
 
- Protected Attributes inherited from MADS::SoundDriver
Audio::Mixer * _mixer
 
Common::Array< byte > _soundData
 
Common::Mutex _driverMutex
 

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