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:
authorTon Roosendaal <ton@blender.org>2004-05-10 00:40:21 +0400
committerTon Roosendaal <ton@blender.org>2004-05-10 00:40:21 +0400
commit4d99961c0dac22051bdc03ed0ed3304121e6a8f7 (patch)
tree66aa46facf8fb26b064146d9d21d07347425574b /source/blender/src/seqaudio.c
parentfe894790361c604bb0d2215073b060dae01df99b (diff)
As we dutchies say: "Now breaks my clog!"
Apparently the 'sync' option for alt+a anim playback *can* run without the sound_init_audio() being called, but it cannot play audio... o_O (For who doesnt know, syncing was coded abusing audio timing) Anyhoo. This also fixes #1267, reporting that 'sync' option didnt work.
Diffstat (limited to 'source/blender/src/seqaudio.c')
-rw-r--r--source/blender/src/seqaudio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/src/seqaudio.c b/source/blender/src/seqaudio.c
index ce64878cf1e..f97b2b9de2e 100644
--- a/source/blender/src/seqaudio.c
+++ b/source/blender/src/seqaudio.c
@@ -356,7 +356,6 @@ void audiostream_play(Uint32 startframe, Uint32 duration, int mixdown)
/* this call used to be in startup */
sound_init_audio();
}
- else return;
if (!(duration + mixdown)) {
desired.freq=G.scene->audio.mixrate;