Fix if-else syntax for the case missing OSS support

pull/22/head
OBATA Akio 5 years ago
parent 08b7645468
commit dd6da7345a

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

Loading…
Cancel
Save