[Bf-blender-cvs] CVS commit: blender/source nan_definitions.mk nan_link.mk blender/source/blender/blenloader/intern readfile.c writefile.c blender/source/blender/include BSE_seqaudio.h blender/source/blender/makesdna DNA_scene_types.h DNA_sequence_types.h DNA_sound_types.h ...

Wouter van Heyst larstiq-bforge at larstiq.dyndns.org
Sun Jul 13 22:17:20 CEST 2003


larstiq (Wouter van Heyst) 2003/07/13 22:17:19 CEST

  Modified files:
    blender/source       nan_definitions.mk nan_link.mk 
    blender/source/blender/blenloader/intern readfile.c 
                                             writefile.c 
    blender/source/blender/makesdna DNA_scene_types.h 
                                    DNA_sequence_types.h 
                                    DNA_sound_types.h 
                                    DNA_space_types.h 
                                    DNA_userdef_types.h 
    blender/source/blender/src Makefile buttons.c drawseq.c 
                               drawview.c editipo.c editnla.c 
                               editseq.c editsound.c filesel.c 
                               headerbuttons.c renderwin.c 
                               sequence.c space.c usiblender.c 
  Added files:
    blender/source/blender/include BSE_seqaudio.h 
    blender/source/blender/src seqaudio.c 
  
  Log:
  Commit message and the brunt of the code courtesy of intrr, apologies for the
  size of this;
  
  Finally, the Sequencer audio support and global audio/animation sync stuff!
  (See http://intrr.org/blender/audiosequencer.html)
  
  Stuff that has been done:
  
  ./source/blender/blenloader/intern/writefile.c
  ./source/blender/blenloader/intern/readfile.c
  
  Added code to make it handle sounds used by audio strips, and to convert
  Scene data from older (<2.28) versions to init Scene global audio settings
  (Scene->audio) to defaults.
  
  ./source/blender/include/BSE_seqaudio.h
  ./source/blender/src/seqaudio.c
  
  The main audio routines that start/stop/scrub the audio stream at
  a certain frame position, provide the frame reference for the current
  stream position, mix the audio, convert the audio, mixdown the audio
  into a file.
  
  ./source/blender/makesdna/DNA_sound_types.h
  
  Introduced new variables in the bSound struct to accomodate the sample
  data after converted to the scene's global mixing format (stream, streamlen).
  Also added a new flag SOUND_FLAGS_SEQUENCE that gets set if the Sound
  belongs to a sequence strip.
  
  ./source/blender/makesdna/DNA_scene_types.h
  
  Added AudioData struct, which holds scene-global audio settings.
  
  ./source/blender/makesdna/DNA_sequence_types.h
  
  Added support for audio strips. Some variables to hold Panning/Attenuation
  information, position information, reference to the sample, and some flags.
  
  ./source/blender/makesdna/DNA_userdef_types.h
  ./source/blender/src/usiblender.c
  
  Added a "Mixing buffer size" userpref. Made the versions stuff initialize
  it to a default for versions <2.28.
  
  ./source/blender/makesdna/DNA_space_types.h
  ./source/blender/src/filesel.c
  
  Added a Cyan dot to .WAV files. Any other suggestions on a better color? :)
  
  ./source/blender/src/editsound.c
  
  Changes (fixes) to the WAV file loader, re-enabled some gameengine code that
  is needed for dealing with bSounds and bSamples.
  
  ./source/blender/src/editipo.c
  ./source/blender/src/drawseq.c
  ./source/blender/src/editnla.c
  ./source/blender/src/space.c
  ./source/blender/src/drawview.c
  ./source/blender/src/renderwin.c
  ./source/blender/src/headerbuttons.c
  
   - Created two different wrappers for update_for_newframe(), one which scrubs
     the audio, one which doesn't.
   - Replaced some of the occurences of update_for_newframe() with
     update_for_newframe_muted(), which doesn't scrub the audio.
   - In drawview.c: Changed the synchronization scheme to get the current audio
     position from the audio engine, and use that as a reference for setting
     CFRA. Implements a/v sync and framedrop.
   - In editipo.c: Changed handling of Fac IPOs to be usable for audio strips as
     volume envelopes.
   - In space.c: Added the mixing buffer size Userpref, enabled audio scrubbing
     (update_for_newframe()) for moving the sequence editor framebar.
  
  ./source/blender/src/editseq.c
  
  Added support for audio strips and a default directory for WAV files which
  gets saved from the last Shift-A operation.
  
  ./source/blender/src/buttons.c
  
  Added Scene-global audio sequencer settings in Sound buttons.
  
  ./source/blender/src/sequence.c
  
  Various stuff that deals with handling audio strips differently than
  usual strips.
  
  Revision  Changes    Path
  1.41      +3 -1      blender/source/nan_definitions.mk
  1.16      +2 -1      blender/source/nan_link.mk
  1.12      +35 -2     blender/source/blender/blenloader/intern/readfile.c
  1.8       +2 -2      blender/source/blender/blenloader/intern/writefile.c
  1.10      +13 -1     blender/source/blender/makesdna/DNA_scene_types.h
  1.7       +11 -3     blender/source/blender/makesdna/DNA_sequence_types.h
  1.6       +7 -4      blender/source/blender/makesdna/DNA_sound_types.h
  1.11      +2 -1      blender/source/blender/makesdna/DNA_space_types.h
  1.13      +2 -1      blender/source/blender/makesdna/DNA_userdef_types.h
  1.14      +2 -1      blender/source/blender/src/Makefile
  1.26      +84 -12    blender/source/blender/src/buttons.c
  1.7       +67 -22    blender/source/blender/src/drawseq.c
  1.13      +17 -5     blender/source/blender/src/drawview.c
  1.12      +3 -3      blender/source/blender/src/editipo.c
  1.14      +6 -6      blender/source/blender/src/editnla.c
  1.6       +205 -21   blender/source/blender/src/editseq.c
  1.10      +23 -46    blender/source/blender/src/editsound.c
  1.17      +8 -1      blender/source/blender/src/filesel.c
  1.38      +15 -3     blender/source/blender/src/headerbuttons.c
  1.19      +2 -2      blender/source/blender/src/renderwin.c
  1.5       +11 -4     blender/source/blender/src/sequence.c
  1.32      +11 -2     blender/source/blender/src/space.c
  1.20      +4 -2      blender/source/blender/src/usiblender.c



More information about the Bf-blender-cvs mailing list