diff options
author | Wohlstand <admin@wohlnet.ru> | 2023-05-14 23:22:17 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2023-05-14 23:22:17 +0300 |
commit | ebb682b75f4468733e2dca46a1639c99c2b6eba2 (patch) | |
tree | c8a933ff38e4cdf72ae95738d7b8b3802f90fd46 /src/adlmidi.cpp | |
parent | d9bdb08c55509bbb62dd7b32547472f4a9031c90 (diff) | |
download | libADLMIDI-ebb682b75f4468733e2dca46a1639c99c2b6eba2.tar.gz libADLMIDI-ebb682b75f4468733e2dca46a1639c99c2b6eba2.tar.bz2 libADLMIDI-ebb682b75f4468733e2dca46a1639c99c2b6eba2.zip |
adlmidi.cpp: Remove the n_periodCountStereo condition
Diffstat (limited to 'src/adlmidi.cpp')
-rw-r--r-- | src/adlmidi.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/adlmidi.cpp b/src/adlmidi.cpp index 647f2d4..fd2976d 100644 --- a/src/adlmidi.cpp +++ b/src/adlmidi.cpp @@ -1476,10 +1476,8 @@ ADLMIDI_EXPORT int adl_playFormat(ADL_MIDIPlayer *device, int sampleCount, Synth &synth = *player->m_synth; unsigned int chips = synth.m_numChips; if(chips == 1) - { synth.m_chips[0]->generate32(out_buf, (size_t)in_generatedStereo); - } - else if(n_periodCountStereo > 0) + else/* if(n_periodCountStereo > 0)*/ { /* Generate data from every chip and mix result */ for(size_t card = 0; card < chips; ++card) |