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-04 01:21:29 +0400
committerTon Roosendaal <ton@blender.org>2004-05-04 01:21:29 +0400
commitc0a78913829c126a6f4665c12f6917dd07f65d56 (patch)
tree211173531228ae5a7af60e65be3b31dd07bcd6c6 /source/blender/src/editsound.c
parentfb72b8d937149fcdabe6e69c236facb2e3981551 (diff)
Apparently the sequencer has its own audiosystem, so the change I did
for init sound only when needed, was not catched by sequencer. Somehow, however, the SND_xxx library needs to be set when using the sequencer... so, here a patch!
Diffstat (limited to 'source/blender/src/editsound.c')
-rw-r--r--source/blender/src/editsound.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/editsound.c b/source/blender/src/editsound.c
index 95699032e86..9d22b42e4d9 100644
--- a/source/blender/src/editsound.c
+++ b/source/blender/src/editsound.c
@@ -1009,6 +1009,8 @@ void sound_init_audio(void)
ghAudioDeviceInterface = SND_GetAudioDevice();
ghSoundScene = SND_CreateScene(ghAudioDeviceInterface);
+ // also called after read new file, but doesnt work when no audio initialized
+ sound_initialize_sounds();
}
}