Browse Source

Fix if-else syntax for the case missing OSS support

pull/22/head
OBATA Akio 1 year ago
parent
commit
dd6da7345a
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      libtdemid/deviceman.cc

+ 1
- 3
libtdemid/deviceman.cc View File

@@ -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