diff options
author | OBATA Akio <[email protected]> | 2019-01-27 14:42:28 +0900 |
---|---|---|
committer | OBATA Akio <[email protected]> | 2019-01-28 13:23:55 +0900 |
commit | dd6da7345a2993129436cd5527e098d4e11acad8 (patch) | |
tree | 8b9740c47f47cf250082ad546f50ea63d6b4734f | |
parent | 08b76454681e565ad5e0fe55f3e76380caa39aca (diff) | |
download | tdelibs-dd6da7345a2993129436cd5527e098d4e11acad8.tar.gz tdelibs-dd6da7345a2993129436cd5527e098d4e11acad8.zip |
Fix if-else syntax for the case missing OSS support
-rw-r--r-- | libtdemid/deviceman.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libtdemid/deviceman.cc b/libtdemid/deviceman.cc index fec0ff090..82f973d3f 100644 --- a/libtdemid/deviceman.cc +++ b/libtdemid/deviceman.cc @@ -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; |