summaryrefslogtreecommitdiffstats
path: root/libtdemid/deviceman.cc
diff options
context:
space:
mode:
authorOBATA Akio <[email protected]>2019-01-27 14:42:28 +0900
committerOBATA Akio <[email protected]>2019-01-28 13:23:55 +0900
commitdd6da7345a2993129436cd5527e098d4e11acad8 (patch)
tree8b9740c47f47cf250082ad546f50ea63d6b4734f /libtdemid/deviceman.cc
parent08b76454681e565ad5e0fe55f3e76380caa39aca (diff)
downloadtdelibs-dd6da7345a2993129436cd5527e098d4e11acad8.tar.gz
tdelibs-dd6da7345a2993129436cd5527e098d4e11acad8.zip
Fix if-else syntax for the case missing OSS support
Diffstat (limited to 'libtdemid/deviceman.cc')
-rw-r--r--libtdemid/deviceman.cc4
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;