diff options
Diffstat (limited to 'audio/fmopl.h')
-rw-r--r-- | audio/fmopl.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/fmopl.h b/audio/fmopl.h index 0e2e2b2dda..243cd294e8 100644 --- a/audio/fmopl.h +++ b/audio/fmopl.h @@ -175,6 +175,17 @@ public: */ void stop(); + /** + * Is the OPL running? + */ + virtual bool isRunning() const = 0; + + /** + * Change the callback frequency. This has no effect if start() + * has not already been called. + */ + void setCallbackFrequency(int timerFrequency); + enum { /** * The default callback frequency that start() uses @@ -206,6 +217,7 @@ public: // OPL API int readBuffer(int16 *buffer, const int numSamples); + bool isRunning() const; int getRate() const; |