diff options
author | Joerg Mueller <nexyon@gmail.com> | 2009-07-22 18:14:26 +0400 |
---|---|---|
committer | Joerg Mueller <nexyon@gmail.com> | 2009-07-22 18:14:26 +0400 |
commit | e7141b2bfb64567bb32b2ee26f2c71581e7b7e2d (patch) | |
tree | c2110db3da92a01cfcb6d7265f04f46fa310213e /source/blender/blenloader/intern/readfile.c | |
parent | a668ffb6e2a0a3e74d902796f62d9320d12b4654 (diff) |
Added support for 3D audio and other GE stuff, like volume, pitch and ping pong looping.
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 0f44900052c..2c75c143bc3 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -147,6 +147,9 @@ #include "BKE_utildefines.h" // SWITCH_INT DATA ENDB DNA1 O_BINARY GLOB USER TEST REND #include "BKE_idprop.h" +// AUD_XXX +#include "BKE_sound.h" + //XXX #include "BIF_butspace.h" // badlevel, for do_versions, patching event codes //XXX #include "BIF_filelist.h" // badlevel too, where to move this? - elubie //XXX #include "BIF_previewrender.h" // bedlelvel, for struct RenderInfo @@ -4971,7 +4974,7 @@ static void lib_link_sound(FileData *fd, Main *main) if(sound->id.flag & LIB_NEEDLINK) { sound->id.flag -= LIB_NEEDLINK; sound->ipo= newlibadr_us(fd, sound->id.lib, sound->ipo); // XXX depreceated - old animation system - sound->stream = 0; +// AUD_XXX sound->stream = 0; } sound= sound->id.next; } @@ -9229,6 +9232,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main) sound->packedfile = sound->newpackedfile; sound->newpackedfile = NULL; } + sound_load(sound); } for(ob = main->object.first; ob; ob = ob->id.next) { |