implemented volume and pan effects

This commit implements a structure for sample processing and two implemenations
of this structure in volume and pan effects.
This commit is contained in:
itsmattkc
2019-12-24 12:34:30 +11:00
parent 3a7b3ffac6
commit 7ad2eae7a2
13 changed files with 275 additions and 1 deletions
+6
View File
@@ -1,5 +1,7 @@
#include "factory.h"
#include "audio/pan/pan.h"
#include "audio/volume/volume.h"
#include "block/clip/clip.h"
#include "block/gap/gap.h"
#include "block/transition/externaltransition.h"
@@ -131,6 +133,10 @@ Node *NodeFactory::CreateInternal(const NodeFactory::InternalID &id)
return new TrackOutput();
case kViewerOutput:
return new ViewerOutput();
case kAudioVolume:
return new VolumeNode();
case kAudioPanning:
return new PanNode();
case kInternalNodeCount:
break;