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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/spatial_stream_player.cpp b/scene/3d/spatial_stream_player.cpp
index 048c9e78ac..dfef0faf4b 100644
--- a/scene/3d/spatial_stream_player.cpp
+++ b/scene/3d/spatial_stream_player.cpp
@@ -60,7 +60,7 @@ void SpatialStreamPlayer::sp_set_mix_rate(int p_rate){
bool SpatialStreamPlayer::sp_mix(int32_t *p_buffer,int p_frames) {
- if (resampler.is_ready()) {
+ if (resampler.is_ready() && !paused) {
return resampler.mix(p_buffer,p_frames);
}