diff options
| author | Léo Lam <leo@leolam.fr> | 2021-10-24 21:33:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-24 21:33:57 +0200 |
| commit | 85bbc0d017563def1aee962c9b00c304c3c6f7ae (patch) | |
| tree | 673b56f319e6fc220f181684aea586e57963501f /Source/Core/AudioCommon/CubebUtils.cpp | |
| parent | 23159da9e1e53cc9b5620d4f28bfff03bc2af82c (diff) | |
| parent | 04d8cdfe88c00dfc1f6b449a728dad6d96d82d8e (diff) | |
Merge pull request #10182 from Pokechu22/log-enum-class
Convert LOG_TYPE and LOG_LEVELS to enum class
Diffstat (limited to 'Source/Core/AudioCommon/CubebUtils.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/CubebUtils.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/CubebUtils.cpp b/Source/Core/AudioCommon/CubebUtils.cpp index 1bd41249e2..512535ee7f 100644 --- a/Source/Core/AudioCommon/CubebUtils.cpp +++ b/Source/Core/AudioCommon/CubebUtils.cpp @@ -29,7 +29,8 @@ static void LogCallback(const char* format, ...) const std::string message = StringFromFormatV(adapted_format.c_str(), args); va_end(args); - instance->Log(Common::Log::LNOTICE, Common::Log::AUDIO, filename, lineno, message.c_str()); + instance->Log(Common::Log::LogLevel::LNOTICE, Common::Log::LogType::AUDIO, filename, lineno, + message.c_str()); } static void DestroyContext(cubeb* ctx) |
