aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hugo/sound.h')
-rw-r--r--engines/hugo/sound.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/engines/hugo/sound.h b/engines/hugo/sound.h
index b8a7bf9678..d5f51704aa 100644
--- a/engines/hugo/sound.h
+++ b/engines/hugo/sound.h
@@ -41,24 +41,18 @@ namespace Hugo {
class MidiPlayer : public Audio::MidiPlayer {
public:
- MidiPlayer(MidiDriver *driver);
- ~MidiPlayer();
+ MidiPlayer();
void pause(bool p);
void play(uint8 *stream, uint16 size);
- void stop();
- void updateTimer();
- int open();
uint32 getBaseTempo();
// Overload Audio::MidiPlayer method
virtual void sendToChannel(byte channel, uint32 b);
+ virtual void onTimer();
private:
- static void timerCallback(void *p);
-
- uint8 *_midiData;
bool _paused;
};