Fix if-else syntax for the case missing OSS support

(cherry picked from commit dd6da7345a)
v3.5.13-sru
OBATA Akio 6 years ago committed by Slávek Banko
parent dcca1c0797
commit 0f8dabf7f5
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -705,9 +705,7 @@ void DeviceManager::seqbuf_dump (void)
void DeviceManager::seqbuf_clean(void)
{
#ifdef HAVE_ALSA_SUPPORT
if (alsa)
((AlsaOut *)device[default_dev])->seqbuf_clean();
else
if (alsa) { ((AlsaOut *)device[default_dev])->seqbuf_clean(); return ; }
#endif
#ifdef HAVE_OSS_SUPPORT
_seqbufptr=0;

Loading…
Cancel
Save