mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
LibAudio: Use new Vector formatter
This commit is contained in:
parent
1e1fa4eac4
commit
f634949d26
Notes:
sideshowbarker
2024-07-18 09:08:08 +09:00
Author: https://github.com/kleinesfilmroellchen Commit: https://github.com/SerenityOS/serenity/commit/f634949d26b Pull-request: https://github.com/SerenityOS/serenity/pull/8717 Reviewed-by: https://github.com/alimpfard ✅
1 changed files with 1 additions and 9 deletions
|
@ -639,15 +639,7 @@ Vector<i32> FlacLoaderPlugin::decode_custom_lpc(FlacSubframeHeader& subframe, In
|
|||
coefficients.unchecked_append(coefficient);
|
||||
}
|
||||
|
||||
if constexpr (AFLACLOADER_DEBUG) {
|
||||
StringBuilder coefficients_formatted;
|
||||
coefficients_formatted.append("[ ");
|
||||
for (auto coeff : coefficients) {
|
||||
coefficients_formatted.append(String::formatted("{}, ", coeff));
|
||||
}
|
||||
coefficients_formatted.append("]");
|
||||
dbgln("{}-bit {} shift coefficients: {}", lpc_precision, lpc_shift, coefficients_formatted.to_string());
|
||||
}
|
||||
dbgln_if(AFLACLOADER_DEBUG, "{}-bit {} shift coefficients: {}", lpc_precision, lpc_shift, coefficients);
|
||||
|
||||
// decode residual
|
||||
// FIXME: This order may be incorrect, the LPC is applied to the residual, probably leading to incorrect results.
|
||||
|
|
Loading…
Reference in a new issue