diff options
Diffstat (limited to 'engines/scumm/player_mac.h')
-rw-r--r-- | engines/scumm/player_mac.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/scumm/player_mac.h b/engines/scumm/player_mac.h index c46495c333..09307b4e57 100644 --- a/engines/scumm/player_mac.h +++ b/engines/scumm/player_mac.h @@ -44,7 +44,7 @@ class ScummEngine; */ class Player_Mac : public Audio::AudioStream, public MusicEngine { public: - Player_Mac(ScummEngine *scumm, Audio::Mixer *mixer, int numberOfChannels, int channelMask); + Player_Mac(ScummEngine *scumm, Audio::Mixer *mixer, int numberOfChannels, int channelMask, bool fadeNoteEnds); virtual ~Player_Mac(); void init(); @@ -90,12 +90,13 @@ private: _subPos = 0; } - void generateSamples(int16 *data, int pitchModifier, int volume, int numSamples, int remainingSamplesOnNote); + void generateSamples(int16 *data, int pitchModifier, int volume, int numSamples, int remainingSamplesOnNote, bool fadeNoteEnds); }; int _pitchTable[128]; int _numberOfChannels; int _channelMask; + bool _fadeNoteEnds; virtual bool checkMusicAvailable() { return false; } virtual bool loadMusic(const byte *ptr) { return false; } |