aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder_thread.c')
-rw-r--r--src/decoder_thread.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/decoder_thread.c b/src/decoder_thread.c
index 68dbd4bb1..3bbe1f347 100644
--- a/src/decoder_thread.c
+++ b/src/decoder_thread.c
@@ -21,6 +21,7 @@
#include "decoder_control.h"
#include "decoder_internal.h"
#include "player_control.h"
+#include "outputBuffer.h"
#include "song.h"
#include "mapper.h"
#include "path.h"
@@ -147,6 +148,8 @@ static void decodeStart(void)
}
}
+ ob_flush();
+
if (ret < 0 || ret == DECODE_ERROR_UNKTYPE) {
if (ret != DECODE_ERROR_UNKTYPE)
dc.error = DECODE_ERROR_FILE;