ScummVM API documentation
Cine::PaulaSound Class Reference
Inheritance diagram for Cine::PaulaSound:
Cine::Sound

Classes

struct  SfxChannel
 

Public Types

enum  { PAULA_FREQ = 3579545, NUM_CHANNELS = 4 }
 

Public Member Functions

 PaulaSound (Audio::Mixer *mixer, CineEngine *vm)
 
void loadMusic (const char *name) override
 
void playMusic () override
 
void stopMusic () override
 
void fadeOutMusic () override
 
void playSound (int mode, int channel, int param3, int param4, int param5, int size) override
 
void playSound (int channel, int frequency, const uint8 *data, int size, int volumeStep, int stepCount, int volume, int repeat) override
 
void stopSound (int channel) override
 
void setBgMusic (int num) override
 
- Public Member Functions inherited from Cine::Sound
 Sound (Audio::Mixer *mixer, CineEngine *vm)
 
virtual MusicType musicType ()
 

Protected Member Functions

void sfxTimerCallback ()
 
void musicTimerCallback ()
 

Static Protected Member Functions

static void sfxTimerProc (void *param)
 
static void musicTimerProc (void *param)
 

Protected Attributes

SfxChannel _channelsTable [NUM_CHANNELS]
 
Common::Mutex _sfxMutex
 
int _sfxTimer
 
Common::Mutex _musicMutex
 
int _musicTimer
 
int _musicFadeTimer
 
Audio::SoundHandle _moduleHandle
 
Audio::AudioStream_moduleStream
 
- Protected Attributes inherited from Cine::Sound
Audio::Mixer_mixer
 
CineEngine_vm
 
MusicType _musicType
 

Static Protected Attributes

static const int _channelBalance [NUM_CHANNELS]
 

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