aboutsummaryrefslogtreecommitdiff
path: root/sound/mods/paula.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/mods/paula.h')
-rw-r--r--sound/mods/paula.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/mods/paula.h b/sound/mods/paula.h
index 0e89b78db6..4bf0b8cec2 100644
--- a/sound/mods/paula.h
+++ b/sound/mods/paula.h
@@ -51,9 +51,9 @@ public:
}
void clearVoice(byte voice);
void clearVoices() { for (int i = 0; i < NUM_VOICES; ++i) clearVoice(i); }
- virtual void startPlay(void) {}
- virtual void stopPlay(void) {}
- virtual void pausePlay(bool pause) {}
+ void startPlay(void) { _playing = true; }
+ void stopPlay(void) { _playing = false; }
+ void pausePlay(bool pause) { _playing = !pause; }
// AudioStream API
int readBuffer(int16 *buffer, const int numSamples);