diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-10-19 18:47:49 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-10-19 18:47:49 -0300 |
commit | 5d86a25f4d04b21559f0d4edbd4e70dc01ea6685 (patch) | |
tree | 03e6ee4dd475501df480858b82dea1ad5efeb21c /scene/3d | |
parent | 79e5ced7e668fa53567ac6aaf5a26393cea6c9a2 (diff) |
-some fixes to where screen is read from rasterizer
-fixed bug in ogg vorbis looping
-properly flushing audiostream rb when stopping
Diffstat (limited to 'scene/3d')
-rw-r--r-- | scene/3d/spatial_stream_player.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/3d/spatial_stream_player.cpp b/scene/3d/spatial_stream_player.cpp index 346e354df2..7ed2335fcb 100644 --- a/scene/3d/spatial_stream_player.cpp +++ b/scene/3d/spatial_stream_player.cpp @@ -171,6 +171,7 @@ void SpatialStreamPlayer::stop() { //AudioServer::get_singleton()->stream_set_active(stream_rid,false); SpatialSoundServer::get_singleton()->source_set_audio_stream(get_source_rid(),NULL); playback->stop(); + resampler.flush(); //set_idle_process(false); } |