diff options
| author | Juan Linietsky | 2015-10-19 18:47:49 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-10-19 18:47:49 -0300 |
| commit | 5d86a25f4d04b21559f0d4edbd4e70dc01ea6685 (patch) | |
| tree | 03e6ee4dd475501df480858b82dea1ad5efeb21c /scene/audio/stream_player.cpp | |
| parent | 79e5ced7e668fa53567ac6aaf5a26393cea6c9a2 (diff) | |
| download | godot-5d86a25f4d04b21559f0d4edbd4e70dc01ea6685.tar.gz godot-5d86a25f4d04b21559f0d4edbd4e70dc01ea6685.tar.zst godot-5d86a25f4d04b21559f0d4edbd4e70dc01ea6685.zip | |
-some fixes to where screen is read from rasterizer
-fixed bug in ogg vorbis looping
-properly flushing audiostream rb when stopping
Diffstat (limited to '')
| -rw-r--r-- | scene/audio/stream_player.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |
