[Bf-blender-cvs] CVS commit: blender/source/creator creator.c blender/source/blender/src editsound.c space.c usiblender.c

Ton Roosendaal ton at blender.org
Wed Apr 21 15:38:55 CEST 2004


ton (Ton Roosendaal) 2004/04/21 15:38:55 CEST

  Modified files:
    blender/source/creator creator.c 
    blender/source/blender/src editsound.c space.c usiblender.c 
  
  Log:
  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! :)
  
  Revision  Changes    Path
  1.35      +11 -7     blender/source/creator/creator.c
  1.16      +54 -50    blender/source/blender/src/editsound.c
  1.135     +4 -2      blender/source/blender/src/space.c
  1.52      +14 -2     blender/source/blender/src/usiblender.c



More information about the Bf-blender-cvs mailing list