Unpacking a file with packed sounds didn't save the samples... was due
to *very* weird method samples were put in Blender.
This commit is contained in:
Ton Roosendaal 2004-12-09 13:46:38 +00:00
parent 175491deb4
commit add697407a
2 changed files with 8 additions and 8 deletions

@ -401,7 +401,7 @@ else
NAN_SND_LIBS += $(NAN_OPENAL)/lib/libopenal.a
NAN_SND_LIBS += $(SOUNDSYSTEM)
else
ifeq ($OS),solaris)
ifeq ($(OS), solaris)
NAN_SND_LIBS = $(SOUNDSYSTEM)
NAN_SND_LIBS += $(DUMMYSOUND)
NAN_SND_LIBS += $(OPENALSOUND)

@ -203,15 +203,15 @@ void sound_initialize_sounds(void)
/* clear the soundscene */
SND_RemoveAllSounds(ghSoundScene);
SND_RemoveAllSamples(ghSoundScene);
}
/* initialize sounds */
/* initialize sample blocks (doesnt call audio system, needs to be done once after load */
sound = G.main->sound.first;
while (sound)
{
sound_sample_is_null(sound);
sound = (bSound *) sound->id.next;
}
}
}