ScummVM API documentation
Scumm::HEMixer Class Reference

Classes

struct  HEMixerChannel
 

Public Member Functions

 HEMixer (Audio::Mixer *mixer, ScummEngine_v60he *vm, bool useMiles)
 
bool initSoftMixerSubSystem ()
 
void deinitSoftMixerSubSystem ()
 
bool stopChannel (int channel)
 
void stopAllChannels ()
 
bool pauseMixerSubSystem (bool paused)
 
void feedMixer ()
 
bool changeChannelVolume (int channel, int volume, bool soft)
 
bool startChannelNew (int channel, int globType, int globNum, uint32 soundData, uint32 offset, int sampleLen, int frequency, int bitsPerSample, int sampleChannels, const HESoundModifiers &modifiers, int callbackId, int32 flags,...)
 
bool startChannel (int channel, int globType, int globNum, uint32 sampleDataOffset, int sampleLen, int frequency, int volume, int callbackId, int32 flags,...)
 
bool startSpoolingChannel (int channel, int song, Common::File &spoolingFile, int sampleLen, int frequency, int volume, int callbackID, int32 flags)
 
bool audioOverrideExists (int globNum, bool justGetInfo, int *duration=nullptr, Audio::SeekableAudioStream **outStream=nullptr)
 
void setSpoolingSongsTable (HESpoolingMusicItem *heSpoolingMusicTable, int32 tableSize)
 
int32 matchOffsetToSongId (int32 offset)
 
bool isMilesActive ()
 
void milesStartSpoolingChannel (int channel, const char *filename, long offset, int flags, HESoundModifiers modifiers)
 
bool milesStartChannel (int channel, int globType, int globNum, uint32 sound_data, uint32 offset, int sampleLen, int bitsPerSample, int sampleChannels, int frequency, HESoundModifiers modifiers, int callbackID, uint32 flags,...)
 
bool milesStopChannel (int channel)
 
void milesStopAllSounds ()
 
void milesModifySound (int channel, int offset, HESoundModifiers modifiers, int flags)
 
void milesStopAndCallback (int channel, int messageId)
 
void milesFeedMixer ()
 
void milesServiceAllStreams ()
 
bool milesPauseMixerSubSystem (bool paused)
 
byte * milesGetAudioDataFromResource (int globType, int globNum, uint32 dataOffset, uint16 &compType, uint16 &blockAlign, uint32 &dataSize)
 
bool mixerInitMyMixerSubSystem ()
 
void mixerFeedMixer ()
 
bool mixerIsMixerDisabled ()
 
bool mixerStopChannel (int channel)
 
bool mixerStopAllSounds ()
 
bool mixerChangeChannelVolume (int channel, int volume, bool soft)
 
bool mixerPauseMixerSubSystem (bool paused)
 
bool mixerStartChannel (int channel, int globType, int globNum, uint32 sampleDataOffset, int sampleLen, int frequency, int volume, int callbackID, uint32 flags,...)
 
bool mixerStartSpoolingChannel (int channel, int song, Common::File &sampleFileIOHandle, int sampleLen, int frequency, int volume, int callbackID, uint32 flags)
 
byte mixerGetOutputFlags (bool is3DOMusic=false)
 

Protected Attributes

ScummEngine_vm
 
Audio::Mixer_mixer
 
bool _useMilesSoundSystem = false
 
bool _mixerPaused = false
 
int _pauseCount = 0
 
Common::HashMap< int32, int32 > _offsetsToSongId
 
HEMilesChannel _milesChannels [8]
 
HEMixerChannel _mixerChannels [8]
 

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