Reporting fix
This commit is contained in:
@@ -24,8 +24,6 @@
|
|||||||
#ifndef RUBBERBAND_STRETCHERIMPL_H
|
#ifndef RUBBERBAND_STRETCHERIMPL_H
|
||||||
#define RUBBERBAND_STRETCHERIMPL_H
|
#define RUBBERBAND_STRETCHERIMPL_H
|
||||||
|
|
||||||
#include "../../rubberband/RubberBandStretcher.h"
|
|
||||||
|
|
||||||
#include "../common/Window.h"
|
#include "../common/Window.h"
|
||||||
#include "../common/FFT.h"
|
#include "../common/FFT.h"
|
||||||
#include "../common/RingBuffer.h"
|
#include "../common/RingBuffer.h"
|
||||||
@@ -37,6 +35,8 @@
|
|||||||
#include "SincWindow.h"
|
#include "SincWindow.h"
|
||||||
#include "CompoundAudioCurve.h"
|
#include "CompoundAudioCurve.h"
|
||||||
|
|
||||||
|
#include "../../rubberband/RubberBandStretcher.h"
|
||||||
|
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
|
|||||||
@@ -213,7 +213,7 @@ R3Stretcher::setPitchScale(double scale)
|
|||||||
if (!isRealTime()) {
|
if (!isRealTime()) {
|
||||||
if (m_mode == ProcessMode::Studying ||
|
if (m_mode == ProcessMode::Studying ||
|
||||||
m_mode == ProcessMode::Processing) {
|
m_mode == ProcessMode::Processing) {
|
||||||
m_log.log(0, "R3Stretcher::setTimeRatio: Cannot set pitch scale while studying or processing in non-RT mode");
|
m_log.log(0, "R3Stretcher::setPitchScale: Cannot set pitch scale while studying or processing in non-RT mode");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -229,7 +229,7 @@ R3Stretcher::setFormantScale(double scale)
|
|||||||
if (!isRealTime()) {
|
if (!isRealTime()) {
|
||||||
if (m_mode == ProcessMode::Studying ||
|
if (m_mode == ProcessMode::Studying ||
|
||||||
m_mode == ProcessMode::Processing) {
|
m_mode == ProcessMode::Processing) {
|
||||||
m_log.log(0, "R3Stretcher::setTimeRatio: Cannot set formant scale while studying or processing in non-RT mode");
|
m_log.log(0, "R3Stretcher::setFormantScale: Cannot set formant scale while studying or processing in non-RT mode");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user