diff options
author | OBATA Akio <obache@wizdas.com> | 2019-01-27 14:42:28 +0900 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-01-28 15:33:00 +0100 |
commit | 0f8dabf7f55c467ecf7384093328ce1ca3e46ed6 (patch) | |
tree | 988b7f12a715d03781e11867145cc4ab76f19d20 /libkmid/deviceman.cc | |
parent | dcca1c07978871aad16a34682a773b76616f0168 (diff) | |
download | tdelibs-0f8dabf7f55c467ecf7384093328ce1ca3e46ed6.tar.gz tdelibs-0f8dabf7f55c467ecf7384093328ce1ca3e46ed6.zip |
Fix if-else syntax for the case missing OSS support
(cherry picked from commit dd6da7345a2993129436cd5527e098d4e11acad8)
Diffstat (limited to 'libkmid/deviceman.cc')
-rw-r--r-- | libkmid/deviceman.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libkmid/deviceman.cc b/libkmid/deviceman.cc index c8030f44e..6a11fb125 100644 --- a/libkmid/deviceman.cc +++ b/libkmid/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; |