2.5: Sound
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Sun, 16 Aug 2009 20:37:22 +0000 (20:37 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Sun, 16 Aug 2009 20:37:22 +0000 (20:37 +0000)
commit55edb016b198dbfbd94612348a70ea9bb26ef558
tree01ec633273d5c92d42fcf1ba00e7546cba7d68fe
parent19babf988d2e9e8cb9537161d5e331f35a05c2b5
2.5: Sound

* Move sound_init to make sure it gets called everytime user
  preferences is reloaded.
* Merged sound_reinit and sound_init. One used user preferences
  while the other did not, don't see the point of this, so just
  made it always use user preferences now.
* Timeline header audio sync option now controls scene flag
  rather than timeline flag. Since it uses the same playback
  operator now, there is no distinction anymore.
* Added boolean property sync to animation play operator, to sync
  with audio or not. Uses scene setting if property is not set.
* Playback stop button in info header now calls operator, so sounds
  stop playing too.
12 files changed:
source/blender/blenkernel/BKE_sound.h
source/blender/blenkernel/intern/sound.c
source/blender/editors/include/ED_screen.h
source/blender/editors/include/ED_screen_types.h
source/blender/editors/interface/interface_templates.c
source/blender/editors/screen/screen_edit.c
source/blender/editors/screen/screen_ops.c
source/blender/editors/space_time/time_header.c
source/blender/makesdna/DNA_space_types.h
source/blender/makesrna/intern/rna_userdef.c
source/blender/windowmanager/intern/wm_files.c
source/blender/windowmanager/intern/wm_init_exit.c