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:29:54 +0100 |
commit | 326bb582b57db2f1edcb4739a2bd62a54052e4a2 (patch) | |
tree | 62f7db4a46064b04a25eb1bb1b1d130f76b69970 /libtdemid | |
parent | 3ef2f724745214ef8fe7091dab3628c8920b9a8d (diff) | |
download | tdelibs-326bb582b57db2f1edcb4739a2bd62a54052e4a2.tar.gz tdelibs-326bb582b57db2f1edcb4739a2bd62a54052e4a2.zip |
Fix if-else syntax for the case missing OSS support
(cherry picked from commit dd6da7345a2993129436cd5527e098d4e11acad8)
Diffstat (limited to 'libtdemid')
-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; |