Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/sequencer/intern/sound.c')
-rw-r--r--source/blender/sequencer/intern/sound.c21
1 files changed, 2 insertions, 19 deletions
diff --git a/source/blender/sequencer/intern/sound.c b/source/blender/sequencer/intern/sound.c
index f62142d0112..1054dbeeba6 100644
--- a/source/blender/sequencer/intern/sound.c
+++ b/source/blender/sequencer/intern/sound.c
@@ -36,28 +36,11 @@
#include "BKE_scene.h"
#include "BKE_sound.h"
-#include "SEQ_sequencer.h"
+#include "SEQ_sound.h"
+#include "SEQ_time.h"
#include "strip_time.h"
-static void seq_sound_init(Scene *scene, Sequence *seq)
-{
- if (seq->type == SEQ_TYPE_META) {
- Sequence *seq_child;
- for (seq_child = seq->seqbase.first; seq_child; seq_child = seq_child->next) {
- seq_sound_init(scene, seq_child);
- }
- }
- else {
- if (seq->sound) {
- seq->scene_sound = BKE_sound_add_scene_sound_defaults(scene, seq);
- }
- if (seq->scene) {
- seq->scene_sound = BKE_sound_scene_add_scene_sound_defaults(scene, seq);
- }
- }
-}
-
/* Unlike _update_sound_ funcs, these ones take info from audaspace to update sequence length! */
#ifdef WITH_AUDASPACE
static bool sequencer_refresh_sound_length_recursive(Main *bmain, Scene *scene, ListBase *seqbase)