Blender Git Loki

Git Commits -> Revision 9722b25

Revision 9722b25 by Ton Roosendaal (master)
April 21, 2004, 13:38 (GMT)
Fix for slow starting of Blender.

This was caused by calling sound_init_audio() at startup. In situations
where Blender was first started, or when other applications used memory,
this could take 5-15 seconds.
I have moved the init call to 'start ketsji', and made sure any call
to an audio play routine will invoke an init as well.

Tested with engine and loading/play sound in F10 menu. I don't know how
the BlenderPlayer handles it... should be investigated.

Result: At OSX Blender starts in a second again! :)

Commit Details:

Full Hash: 9722b256377ac47a8f357caafdf37d309f0fb5bd
SVN Revision: 2360
Parent Commit: 6d9b6cc
Lines Changed: +79, -57

4 Modified Paths:

/source/blender/src/editsound.c (+53, -49) (Diff)
/source/blender/src/space.c (+3, -1) (Diff)
/source/blender/src/usiblender.c (+13, -1) (Diff)
/source/creator/creator.c (+10, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021