22 #ifndef GOT_MUSICDRIVER_H 23 #define GOT_MUSICDRIVER_H 25 #include "common/timer.h" 34 virtual int open() = 0;
36 virtual void close() = 0;
38 virtual void syncSoundSettings() = 0;
40 virtual void send(uint16 b) = 0;
41 virtual void stopAllNotes() = 0;
43 virtual void setTimerFrequency(uint8 timerFrequency);
64 void close()
override;
66 void syncSoundSettings()
override { };
67 void send(uint16 b)
override { };
68 void stopAllNotes()
override { };
70 void setTimerFrequency(uint8 timerFrequency)
override;
72 static void timerCallback(
void *data);
Definition: musicdriver.h:29
void(* TimerProc)(void *refCon)
Definition: timer.h:42
Definition: musicdriver.h:58