aboutsummaryrefslogtreecommitdiffstats
path: root/core/voice.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-10-21 23:50:51 -0700
committerChris Robinson <[email protected]>2022-10-21 23:50:51 -0700
commit87c549aef72f7963620abf5114d15c881f14e9b0 (patch)
treeb1b9a5399fdc65b0ea572eea017d316397757e83 /core/voice.cpp
parent2ae2aa4ad5be4cc4f8836f4a5472c42b39a8be1d (diff)
Rename some variables to be less ambiguous
Diffstat (limited to 'core/voice.cpp')
-rw-r--r--core/voice.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/core/voice.cpp b/core/voice.cpp
index 8d6737ca..942c1e87 100644
--- a/core/voice.cpp
+++ b/core/voice.cpp
@@ -863,12 +863,12 @@ void Voice::prepare(DeviceBase *device)
mDecoderPadding = UhjStereoDecoderIIR::sFilterDelay;
break;
case UhjQualityType::FIR256:
- mDecoder = std::make_unique<UhjStereoDecoder<UhjLengthLq>>();
- mDecoderPadding = UhjStereoDecoder<UhjLengthLq>::sFilterDelay;
+ mDecoder = std::make_unique<UhjStereoDecoder<UhjLength256>>();
+ mDecoderPadding = UhjStereoDecoder<UhjLength256>::sFilterDelay;
break;
case UhjQualityType::FIR512:
- mDecoder = std::make_unique<UhjStereoDecoder<UhjLengthHq>>();
- mDecoderPadding = UhjStereoDecoder<UhjLengthHq>::sFilterDelay;
+ mDecoder = std::make_unique<UhjStereoDecoder<UhjLength512>>();
+ mDecoderPadding = UhjStereoDecoder<UhjLength512>::sFilterDelay;
break;
}
}
@@ -881,12 +881,12 @@ void Voice::prepare(DeviceBase *device)
mDecoderPadding = UhjDecoderIIR::sFilterDelay;
break;
case UhjQualityType::FIR256:
- mDecoder = std::make_unique<UhjDecoder<UhjLengthLq>>();
- mDecoderPadding = UhjDecoder<UhjLengthLq>::sFilterDelay;
+ mDecoder = std::make_unique<UhjDecoder<UhjLength256>>();
+ mDecoderPadding = UhjDecoder<UhjLength256>::sFilterDelay;
break;
case UhjQualityType::FIR512:
- mDecoder = std::make_unique<UhjDecoder<UhjLengthHq>>();
- mDecoderPadding = UhjDecoder<UhjLengthHq>::sFilterDelay;
+ mDecoder = std::make_unique<UhjDecoder<UhjLength512>>();
+ mDecoderPadding = UhjDecoder<UhjLength512>::sFilterDelay;
break;
}
}