summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;