summaryrefslogtreecommitdiff
path: root/scene/3d/spatial_stream_player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/spatial_stream_player.cpp')
-rw-r--r--scene/3d/spatial_stream_player.cpp1
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);
}