summaryrefslogtreecommitdiff
path: root/opl/opl.h
diff options
context:
space:
mode:
Diffstat (limited to 'opl/opl.h')
-rw-r--r--opl/opl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/opl/opl.h b/opl/opl.h
index 9f5d0a9f..04d3cf27 100644
--- a/opl/opl.h
+++ b/opl/opl.h
@@ -70,6 +70,10 @@ int OPL_Init(unsigned int port_base);
void OPL_Shutdown(void);
+// Set the sample rate used for software emulation.
+
+void OPL_SetSampleRate(unsigned int rate);
+
// Write to one of the OPL I/O ports:
void OPL_WritePort(opl_port_t port, unsigned int value);