summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2023-08-25 21:28:03 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2023-08-25 21:28:03 -0400
commitbd4345cb6856e6278ce452e430a4f658cb8143fe (patch)
treee0f265155e42e1f29df40eefdf3ac3171481e5ea /src
parent67ee13dc1e13f61f70011dfdcc32016bafb3daa6 (diff)
downloadabaddon-portaudio-bd4345cb6856e6278ce452e430a4f658cb8143fe.tar.gz
abaddon-portaudio-bd4345cb6856e6278ce452e430a4f658cb8143fe.zip
more spdlog/libfmt workaround
Diffstat (limited to 'src')
-rw-r--r--src/audio/manager.cpp3
1 files changed, 2 insertions, 1 deletions
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<int>(method));
+ const auto method_int = static_cast<int>(method);
+ spdlog::get("audio")->debug("Setting VAD method to enum {}", method_int);
m_vad_method = method;
}