From ebb682b75f4468733e2dca46a1639c99c2b6eba2 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Sun, 14 May 2023 23:22:17 +0300 Subject: adlmidi.cpp: Remove the n_periodCountStereo condition --- src/adlmidi.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/adlmidi.cpp') 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) -- cgit v1.2.3