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:
authorJörg Müller <nexyon@gmail.com>2014-04-15 21:17:50 +0400
committerJörg Müller <nexyon@gmail.com>2014-04-15 21:19:56 +0400
commit9351e872f5317a5690ecdaeaf9dd9db5e1558cfc (patch)
treef4d22b051a1665e1ea9b906290f9b6f328f3554a /source/blender/blenkernel/intern/sound.c
parent5d189069a476551b2e3d6b9328639b89109cc639 (diff)
Fix T39607: Audio not in synch when the blend file loads.
The problem here was that animation buffers got initialized with zeros in the beginning for unknown parts. Now it gets initialized with the first known value. The bug's result was that the animation of the pitch started with 0 on first playback and thus any seeking while the pitch is zero resulted in seeking to the beginning.
Diffstat (limited to 'source/blender/blenkernel/intern/sound.c')
-rw-r--r--source/blender/blenkernel/intern/sound.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/sound.c b/source/blender/blenkernel/intern/sound.c
index bdd06e92457..b906ff2b091 100644
--- a/source/blender/blenkernel/intern/sound.c
+++ b/source/blender/blenkernel/intern/sound.c
@@ -566,8 +566,6 @@ void sound_play_scene(struct Scene *scene)
AUD_unlock();
return;
}
-
- AUD_seek(scene->sound_scene_handle, cur_time);
}
if (status != AUD_STATUS_PLAYING) {