From 5d86a25f4d04b21559f0d4edbd4e70dc01ea6685 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 19 Oct 2015 18:47:49 -0300 Subject: -some fixes to where screen is read from rasterizer -fixed bug in ogg vorbis looping -properly flushing audiostream rb when stopping --- scene/audio/stream_player.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scene/audio/stream_player.cpp') diff --git a/scene/audio/stream_player.cpp b/scene/audio/stream_player.cpp index 0ee9d7661..bffb2de4d 100644 --- a/scene/audio/stream_player.cpp +++ b/scene/audio/stream_player.cpp @@ -165,6 +165,8 @@ void StreamPlayer::stop() { //_THREAD_SAFE_METHOD_ AudioServer::get_singleton()->stream_set_active(stream_rid,false); playback->stop(); + resampler.flush(); + //set_idle_process(false); } -- cgit v1.2.3-70-g09d2