summaryrefslogtreecommitdiffstats
path: root/arts/modules/effects/synth_stereo_pitch_shift_fft_impl.cc
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-12-08 22:26:17 +0900
committerMichele Calgaro <[email protected]>2020-12-08 22:26:17 +0900
commitfce86b22a2367f1be1f9aae5e1ba3d18d1371b74 (patch)
tree707fe84fef0569a152e632ce1e16407f9d19a3d2 /arts/modules/effects/synth_stereo_pitch_shift_fft_impl.cc
parent41fa1afc2c571b909acd0312e4eebb4a0b21e3c2 (diff)
downloadtdemultimedia-fce86b22a2367f1be1f9aae5e1ba3d18d1371b74.tar.gz
tdemultimedia-fce86b22a2367f1be1f9aae5e1ba3d18d1371b74.zip
Renaming of files in preparation for code style tools.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'arts/modules/effects/synth_stereo_pitch_shift_fft_impl.cc')
-rw-r--r--arts/modules/effects/synth_stereo_pitch_shift_fft_impl.cc63
1 files changed, 0 insertions, 63 deletions
diff --git a/arts/modules/effects/synth_stereo_pitch_shift_fft_impl.cc b/arts/modules/effects/synth_stereo_pitch_shift_fft_impl.cc
deleted file mode 100644
index 390fd04e..00000000
--- a/arts/modules/effects/synth_stereo_pitch_shift_fft_impl.cc
+++ /dev/null
@@ -1,63 +0,0 @@
-#include "flowsystem.h"
-#include "artsmoduleseffects.h"
-#include "stdsynthmodule.h"
-
-using namespace Arts;
-
-class Synth_STEREO_PITCH_SHIFT_FFT_impl : virtual public Synth_STEREO_PITCH_SHIFT_FFT_skel,
- virtual public StdSynthModule
-{
-protected:
- Synth_PITCH_SHIFT_FFT leftPitchShift, rightPitchShift;
-
-public:
- float speed() { return leftPitchShift.speed(); }
- void speed(float newSpeed)
- {
- leftPitchShift.speed(newSpeed);
- rightPitchShift.speed(newSpeed);
- }
-
- float scaleFactor() { return leftPitchShift.scaleFactor(); }
- void scaleFactor(float newScaleFactor)
- {
- leftPitchShift.scaleFactor(newScaleFactor);
- rightPitchShift.scaleFactor(newScaleFactor);
- }
-
- long frameSize() { return leftPitchShift.frameSize(); }
- void frameSize(long newFrameSize)
- {
- leftPitchShift.frameSize(newFrameSize);
- rightPitchShift.frameSize(newFrameSize);
- }
-
- long oversample() { return leftPitchShift.oversample(); }
- void oversample(long newOversample)
- {
- leftPitchShift.oversample(newOversample);
- rightPitchShift.oversample(newOversample);
- }
-
- void streamStart()
- {
- leftPitchShift.start();
- rightPitchShift.start();
- _node()->virtualize("inleft",leftPitchShift._node(),"inStream");
- _node()->virtualize("outleft",leftPitchShift._node(),"outStream");
- _node()->virtualize("inright",rightPitchShift._node(),"inStream");
- _node()->virtualize("outright",rightPitchShift._node(),"outStream");
- }
-
- void streamEnd()
- {
- _node()->devirtualize("inleft",leftPitchShift._node(),"inStream");
- _node()->devirtualize("outleft",leftPitchShift._node(),"outStream");
- _node()->devirtualize("inright",rightPitchShift._node(),"inStream");
- _node()->devirtualize("outright",rightPitchShift._node(),"outStream");
- leftPitchShift.stop();
- rightPitchShift.stop();
- }
-};
-
-REGISTER_IMPLEMENTATION(Synth_STEREO_PITCH_SHIFT_FFT_impl);