MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / log_soxr_fallback

Function log_soxr_fallback

src/framework/audio/resampling.cpp:153–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void log_soxr_fallback(const SoxrResampleOptions & options, const std::string & reason) {
154 std::string message = options.warning_context;
155 message += " libsoxr resampling unavailable; falling back to ";
156 message += options.fallback_description;
157 message += ": ";
158 message += reason;
159 debug::log_message(
160 debug::LogLevel::Warning,
161 "audio.resample.soxr",
162 message);
163}
164
165struct TorchaudioSincHannResampleKey {
166 int source_sample_rate_hz = 0;

Callers 1

try_resample_mono_soxrFunction · 0.85

Calls 1

log_messageFunction · 0.85

Tested by

no test coverage detected