Public Member Functions | |
MusicPlayer (TeenAgentEngine *vm) | |
bool | load (int id) |
int | getId () const |
void | start () |
void | stop () |
Public Member Functions inherited from Audio::Paula | |
Paula (bool stereo=false, int rate=44100, uint interruptFreq=0, FilterMode filterMode=kFilterModeDefault, int periodScaleDivisor=1) | |
bool | playing () const |
void | setTimerBaseValue (uint32 ticksPerSecond) |
uint32 | getTimerBaseValue () |
void | setSingleInterrupt (uint sampleDelay) |
void | setSingleInterruptUnscaled (uint timerDelay) |
void | setInterruptFreq (uint sampleDelay) |
void | setInterruptFreqUnscaled (uint timerDelay) |
void | clearVoice (byte voice) |
void | clearVoices () |
void | startPlay () |
void | stopPlay () |
void | pausePlay (bool pause) |
int | readBuffer (int16 *buffer, const int numSamples) |
bool | isStereo () const |
bool | endOfData () const |
int | getRate () const |
Public Member Functions inherited from Audio::AudioStream | |
virtual bool | endOfStream () const |
Additional Inherited Members | |
Public Types inherited from Audio::Paula | |
enum | { kPalSystemClock = 7093790, kNtscSystemClock = 7159090, kPalCiaClock = kPalSystemClock / 10, kNtscCiaClock = kNtscSystemClock / 10, kPalPaulaClock = kPalSystemClock / 2, kNtscPaulaClock = kNtscSystemClock / 2 } |
enum | FilterMode { kFilterModeNone = 0, kFilterModeA500, kFilterModeA1200, kFilterModeDefault = kFilterModeA1200 } |
Static Public Attributes inherited from Audio::Paula | |
static const int | NUM_VOICES = 4 |
static const int | PANNING_LEFT = 63 |
static const int | PANNING_RIGHT = 191 |
Protected Member Functions inherited from Audio::Paula | |
virtual void | interruptChannel (byte channel) |
void | startPaula () |
void | stopPaula () |
void | setChannelPanning (byte channel, byte panning) |
void | disableChannel (byte channel) |
void | enableChannel (byte channel) |
void | setChannelInterrupt (byte channel, bool enable) |
void | setChannelPeriod (byte channel, int16 period) |
void | setChannelVolume (byte channel, byte volume) |
void | setChannelSampleStart (byte channel, const int8 *data) |
void | setChannelSampleLen (byte channel, uint32 length) |
void | setChannelData (uint8 channel, const int8 *data, const int8 *dataRepeat, uint32 length, uint32 lengthRepeat, int32 offset=0) |
void | setChannelOffset (byte channel, Offset offset) |
Offset | getChannelOffset (byte channel) |
int | getChannelDmaCount (byte channel) |
void | setChannelDmaCount (byte channel, int dmaVal=0) |
void | setAudioFilter (bool enable) |
Protected Attributes inherited from Audio::Paula | |
bool | _end |
Common::Mutex & | _mutex |