diff options
Diffstat (limited to 'opl/opl_internal.h')
-rw-r--r-- | opl/opl_internal.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/opl/opl_internal.h b/opl/opl_internal.h index 91a275d5..2d027ad8 100644 --- a/opl/opl_internal.h +++ b/opl/opl_internal.h @@ -25,13 +25,14 @@ typedef int (*opl_init_func)(unsigned int port_base); typedef void (*opl_shutdown_func)(void); typedef unsigned int (*opl_read_port_func)(opl_port_t port); typedef void (*opl_write_port_func)(opl_port_t port, unsigned int value); -typedef void (*opl_set_callback_func)(unsigned int ms, +typedef void (*opl_set_callback_func)(unsigned int us, opl_callback_t callback, void *data); typedef void (*opl_clear_callbacks_func)(void); typedef void (*opl_lock_func)(void); typedef void (*opl_unlock_func)(void); typedef void (*opl_set_paused_func)(int paused); +typedef void (*opl_adjust_callbacks_func)(float value); typedef struct { @@ -46,6 +47,7 @@ typedef struct opl_lock_func lock_func; opl_unlock_func unlock_func; opl_set_paused_func set_paused_func; + opl_adjust_callbacks_func adjust_callbacks_func; } opl_driver_t; // Sample rate to use when doing software emulation. |