From 27e8ba254adbe9f0df50b4969c5d2e66e0c7c0de Mon Sep 17 00:00:00 2001
From: jaluik <37829041+jaluik@users.noreply.github.com>
Date: 星期二, 09 一月 2024 10:57:03 +0800
Subject: [PATCH] docs: update docker tag (#1227)
---
runtime/onnxruntime/src/audio.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/runtime/onnxruntime/src/audio.cpp b/runtime/onnxruntime/src/audio.cpp
index 559e3dd..c471329 100644
--- a/runtime/onnxruntime/src/audio.cpp
+++ b/runtime/onnxruntime/src/audio.cpp
@@ -254,9 +254,9 @@
void Audio::WavResample(int32_t sampling_rate, const float *waveform,
int32_t n)
{
- LOG(INFO) << "Creating a resampler:\n"
- << " in_sample_rate: "<< sampling_rate << "\n"
- << " output_sample_rate: " << static_cast<int32_t>(dest_sample_rate);
+ LOG(INFO) << "Creating a resampler: "
+ << " in_sample_rate: "<< sampling_rate
+ << " output_sample_rate: " << static_cast<int32_t>(dest_sample_rate);
float min_freq =
std::min<int32_t>(sampling_rate, dest_sample_rate);
float lowpass_cutoff = 0.99 * 0.5 * min_freq;
--
Gitblit v1.9.1