diff options
author | Ton Roosendaal <ton@blender.org> | 2004-05-04 01:21:29 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-05-04 01:21:29 +0400 |
commit | c0a78913829c126a6f4665c12f6917dd07f65d56 (patch) | |
tree | 211173531228ae5a7af60e65be3b31dd07bcd6c6 /source/blender/src/editsound.c | |
parent | fb72b8d937149fcdabe6e69c236facb2e3981551 (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.c | 2 |
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(); } } |