Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenkernel/intern/sound.c')
-rw-r--r--source/blender/blenkernel/intern/sound.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/sound.c b/source/blender/blenkernel/intern/sound.c
index 913d9be9a62..0cd51766078 100644
--- a/source/blender/blenkernel/intern/sound.c
+++ b/source/blender/blenkernel/intern/sound.c
@@ -807,8 +807,9 @@ int BKE_sound_scene_playing(Scene *scene)
}
// in case of a "Null" audio device, we have no playback information
- if (AUD_Device_getRate(sound_device) == AUD_RATE_INVALID)
+ if (AUD_Device_getRate(sound_device) == AUD_RATE_INVALID) {
return -1;
+ }
if (scene->audio.flag & AUDIO_SYNC) {
return AUD_isSynchronizerPlaying();