Reporting fix

This commit is contained in:
Chris Cannam
2023-03-08 14:44:52 +00:00
parent 48680627d8
commit 4d5460c3e8
2 changed files with 4 additions and 4 deletions

View File

@@ -24,8 +24,6 @@
#ifndef RUBBERBAND_STRETCHERIMPL_H
#define RUBBERBAND_STRETCHERIMPL_H
#include "../../rubberband/RubberBandStretcher.h"
#include "../common/Window.h"
#include "../common/FFT.h"
#include "../common/RingBuffer.h"
@@ -37,6 +35,8 @@
#include "SincWindow.h"
#include "CompoundAudioCurve.h"
#include "../../rubberband/RubberBandStretcher.h"
#include <set>
#include <algorithm>

View File

@@ -213,7 +213,7 @@ R3Stretcher::setPitchScale(double scale)
if (!isRealTime()) {
if (m_mode == ProcessMode::Studying ||
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;
}
}
@@ -229,7 +229,7 @@ R3Stretcher::setFormantScale(double scale)
if (!isRealTime()) {
if (m_mode == ProcessMode::Studying ||
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;
}
}