diff --git a/src/audio/manager.cpp b/src/audio/manager.cpp index 20089d2..739e835 100644 --- a/src/audio/manager.cpp +++ b/src/audio/manager.cpp @@ -598,7 +598,8 @@ void AudioManager::SetVADMethod(const std::string &method) { } void AudioManager::SetVADMethod(VADMethod method) { - spdlog::get("audio")->debug("Setting VAD method to enum {}", static_cast(method)); + const auto method_int = static_cast(method); + spdlog::get("audio")->debug("Setting VAD method to enum {}", method_int); m_vad_method = method; }