diff options
author | Simon Howard | 2014-05-08 00:44:50 -0400 |
---|---|---|
committer | Simon Howard | 2014-05-08 00:44:50 -0400 |
commit | e898c2f0dec6ea5c6365fef9d494c7f94240bea5 (patch) | |
tree | be23684bcb1cf22a7d9a3f755c3f3b80d7f053f4 /src/i_sound.h | |
parent | b2e5952c454dd46b29ca6c64e742b4505c20d5b7 (diff) | |
download | chocolate-doom-e898c2f0dec6ea5c6365fef9d494c7f94240bea5.tar.gz chocolate-doom-e898c2f0dec6ea5c6365fef9d494c7f94240bea5.tar.bz2 chocolate-doom-e898c2f0dec6ea5c6365fef9d494c7f94240bea5.zip |
opl: Process MIDI 'set tempo' meta events.
The MIDI format includes a special meta event to set the tempo of
playback, and some WADs depend on this - notably the music in Alien
Vendetta. Move the variables controlling tempo to the global scope
(they are not per-track as I previously thought) and set when the
tempo events are encountered.
This is some progress towards resolving #334, but that bug is not
yet completely fixed, because the tempo change does not
retroactively apply to OPL timers that have already been set.
Diffstat (limited to 'src/i_sound.h')
0 files changed, 0 insertions, 0 deletions