finished audio effects support in audio renderer

Working structure implemented in previous commit into the audio renderer is
complete in this commit.
This commit is contained in:
itsmattkc
2019-12-24 14:02:07 +11:00
parent 7ad2eae7a2
commit f0cd480540
13 changed files with 88 additions and 26 deletions
+7 -1
View File
@@ -26,6 +26,7 @@
#include "config/config.h"
#include "common/qtversionabstraction.h"
#include "core.h"
#include "node/audio/volume/volume.h"
#include "node/distort/transform/transform.h"
#include "node/input/media/audio/audio.h"
#include "node/input/media/video/video.h"
@@ -254,7 +255,12 @@ void TimelineWidget::ImportTool::DragDrop(TimelineViewMouseEvent *event)
AudioInput* audio_input = new AudioInput();
audio_input->SetFootage(footage_stream);
new NodeAddCommand(dst_graph, audio_input, command);
new NodeEdgeAddCommand(audio_input->output(), clip->texture_input(), command);
VolumeNode* volume_node = new VolumeNode();
new NodeAddCommand(dst_graph, volume_node, command);
new NodeEdgeAddCommand(audio_input->output(), volume_node->samples_input(), command);
new NodeEdgeAddCommand(volume_node->output(), clip->texture_input(), command);
break;
}
default: