diff options
author | Max Horn | 2004-10-17 17:12:35 +0000 |
---|---|---|
committer | Max Horn | 2004-10-17 17:12:35 +0000 |
commit | 649eb19a3ed45dbea8b2796a57190ff18534fffe (patch) | |
tree | 7c2925e413170c8e3c74bf7bd99545f446f6bb3c /backends/midi/ym2612.cpp | |
parent | 9f4bf02c1ea5e1d899172dcf697a196252dceb18 (diff) | |
download | scummvm-rg350-649eb19a3ed45dbea8b2796a57190ff18534fffe.tar.gz scummvm-rg350-649eb19a3ed45dbea8b2796a57190ff18534fffe.tar.bz2 scummvm-rg350-649eb19a3ed45dbea8b2796a57190ff18534fffe.zip |
Cleanup
svn-id: r15588
Diffstat (limited to 'backends/midi/ym2612.cpp')
-rw-r--r-- | backends/midi/ym2612.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/midi/ym2612.cpp b/backends/midi/ym2612.cpp index f701a1541e..50f786b011 100644 --- a/backends/midi/ym2612.cpp +++ b/backends/midi/ym2612.cpp @@ -742,7 +742,7 @@ _mixer(mixer) { _timer_proc = 0; _timer_param = 0; _next_tick = 0; - _samples_per_tick = (_mixer->getOutputRate() << FIXP_SHIFT) / BASE_FREQ; + _samples_per_tick = (getRate() << FIXP_SHIFT) / BASE_FREQ; _next_voice = 0; createLookupTables(); @@ -750,7 +750,7 @@ _mixer(mixer) { int i; for (i = 0; i < ARRAYSIZE(_channel); i++) _channel[i] = new MidiChannel_YM2612; - rate(_mixer->getOutputRate()); + rate(getRate()); } MidiDriver_YM2612::~MidiDriver_YM2612() { |