diff options
author | Simon Howard | 2014-05-10 14:00:41 -0400 |
---|---|---|
committer | Simon Howard | 2014-05-10 14:00:41 -0400 |
commit | 495694da29ff736fba2fdc696553ee7197247174 (patch) | |
tree | 49c7cb18a42f9d5302aead68572a8deca8d9445a /opl/opl_timer.h | |
parent | 541267071a118fe5cc702632fdba5817e27b6f76 (diff) | |
download | chocolate-doom-495694da29ff736fba2fdc696553ee7197247174.tar.gz chocolate-doom-495694da29ff736fba2fdc696553ee7197247174.tar.bz2 chocolate-doom-495694da29ff736fba2fdc696553ee7197247174.zip |
opl: Add API to adjust tempo.
When the tempo is changed, the times on all active timers must be
adjusted to match the new timing values. Add an API to do this and
invoke it when a tempo change meta event is read.
Diffstat (limited to 'opl/opl_timer.h')
-rw-r--r-- | opl/opl_timer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/opl/opl_timer.h b/opl/opl_timer.h index 1febcac9..73544013 100644 --- a/opl/opl_timer.h +++ b/opl/opl_timer.h @@ -29,6 +29,7 @@ void OPL_Timer_ClearCallbacks(void); void OPL_Timer_Lock(void); void OPL_Timer_Unlock(void); void OPL_Timer_SetPaused(int paused); +void OPL_Timer_AdjustCallbacks(float factor); #endif /* #ifndef OPL_TIMER_H */ |