diff options
author | JP Cimalando <jpcima@users.noreply.github.com> | 2018-10-05 22:29:37 +0200 |
---|---|---|
committer | JP Cimalando <jpcima@users.noreply.github.com> | 2018-10-05 22:29:37 +0200 |
commit | c542a7576de33ecc9c9744cf5a4df7d094af5c47 (patch) | |
tree | 7972745dc36ca6c0fdfe2c05ba1173bb4d6bdca6 /src/adlmidi_sequencer.cpp | |
parent | 6bb43bedde33404428f1baa75c1f0f97896a5cc7 (diff) | |
download | libADLMIDI-c542a7576de33ecc9c9744cf5a4df7d094af5c47.tar.gz libADLMIDI-c542a7576de33ecc9c9744cf5a4df7d094af5c47.tar.bz2 libADLMIDI-c542a7576de33ecc9c9744cf5a4df7d094af5c47.zip |
typedef OPL3 as Synth
Diffstat (limited to 'src/adlmidi_sequencer.cpp')
-rw-r--r-- | src/adlmidi_sequencer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adlmidi_sequencer.cpp b/src/adlmidi_sequencer.cpp index bb9cec0..a1fe5ab 100644 --- a/src/adlmidi_sequencer.cpp +++ b/src/adlmidi_sequencer.cpp @@ -141,7 +141,7 @@ double MIDIplay::Tick(double s, double granularity) MidiSequencer &seqr = *m_sequencer; double ret = seqr.Tick(s, granularity); - OPL3 &synth = *m_synth; + Synth &synth = *m_synth; s *= seqr.getTempoMultiplier(); for(uint16_t c = 0; c < synth.m_numChannels; ++c) m_chipChannels[c].addAge(static_cast<int64_t>(s * 1e6)); |