aboutsummaryrefslogtreecommitdiffstats
path: root/core/voice.cpp
diff options
context:
space:
mode:
authorChris Robinson <chris.kcat@gmail.com>2022-10-28 20:07:45 -0700
committerChris Robinson <chris.kcat@gmail.com>2022-10-28 20:07:45 -0700
commitbb88035a96e6794e4dd1085c2c11b046b7f5c8c7 (patch)
tree487716d54051d88b1bc85b648efa51b7a0308a9f /core/voice.cpp
parentf1f3672f0b8c45b87fcf3b3b99868c274569eaf4 (diff)
Rename some variables to more clearly indicate their meaning
Diffstat (limited to 'core/voice.cpp')
-rw-r--r--core/voice.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/voice.cpp b/core/voice.cpp
index 942c1e87..fbf3ea4d 100644
--- a/core/voice.cpp
+++ b/core/voice.cpp
@@ -860,15 +860,15 @@ void Voice::prepare(DeviceBase *device)
{
case UhjQualityType::IIR:
mDecoder = std::make_unique<UhjStereoDecoderIIR>();
- mDecoderPadding = UhjStereoDecoderIIR::sFilterDelay;
+ mDecoderPadding = UhjStereoDecoderIIR::sInputPadding;
break;
case UhjQualityType::FIR256:
mDecoder = std::make_unique<UhjStereoDecoder<UhjLength256>>();
- mDecoderPadding = UhjStereoDecoder<UhjLength256>::sFilterDelay;
+ mDecoderPadding = UhjStereoDecoder<UhjLength256>::sInputPadding;
break;
case UhjQualityType::FIR512:
mDecoder = std::make_unique<UhjStereoDecoder<UhjLength512>>();
- mDecoderPadding = UhjStereoDecoder<UhjLength512>::sFilterDelay;
+ mDecoderPadding = UhjStereoDecoder<UhjLength512>::sInputPadding;
break;
}
}
@@ -878,15 +878,15 @@ void Voice::prepare(DeviceBase *device)
{
case UhjQualityType::IIR:
mDecoder = std::make_unique<UhjDecoderIIR>();
- mDecoderPadding = UhjDecoderIIR::sFilterDelay;
+ mDecoderPadding = UhjDecoderIIR::sInputPadding;
break;
case UhjQualityType::FIR256:
mDecoder = std::make_unique<UhjDecoder<UhjLength256>>();
- mDecoderPadding = UhjDecoder<UhjLength256>::sFilterDelay;
+ mDecoderPadding = UhjDecoder<UhjLength256>::sInputPadding;
break;
case UhjQualityType::FIR512:
mDecoder = std::make_unique<UhjDecoder<UhjLength512>>();
- mDecoderPadding = UhjDecoder<UhjLength512>::sFilterDelay;
+ mDecoderPadding = UhjDecoder<UhjLength512>::sInputPadding;
break;
}
}