From 9351e872f5317a5690ecdaeaf9dd9db5e1558cfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20M=C3=BCller?= Date: Tue, 15 Apr 2014 19:17:50 +0200 Subject: 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. --- source/blender/blenkernel/intern/sound.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source/blender/blenkernel/intern/sound.c') 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) { -- cgit v1.2.3