From 376d33cff44e718848dd00157db612bf4c71bec4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B3pez=20Guimaraes?= <112760654+DaniElectra@users.noreply.github.com> Date: Sun, 1 Oct 2023 07:41:25 +0100 Subject: [PATCH] audio_core/hle: Fix compile issues (#7024) * audio_core/hle: Fix compile issues Fix all compiling issues related with fmt (see #7015) * audio_core/hle: Fix clang-format --- src/audio_core/hle/source.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/audio_core/hle/source.cpp b/src/audio_core/hle/source.cpp index 9524e8522..29ca7c788 100644 --- a/src/audio_core/hle/source.cpp +++ b/src/audio_core/hle/source.cpp @@ -231,7 +231,8 @@ void Source::ParseConfig(SourceConfiguration::Configuration& config, } } LOG_TRACE(Audio_DSP, "partially updating embedded buffer addr={:#010x} len={} id={}", - state.current_buffer_physical_address, config.length, config.buffer_id); + state.current_buffer_physical_address, static_cast(config.length), + config.buffer_id); } if (config.embedded_buffer_dirty) { @@ -266,8 +267,8 @@ void Source::ParseConfig(SourceConfiguration::Configuration& config, }); } LOG_TRACE(Audio_DSP, "enqueuing embedded addr={:#010x} len={} id={} start={}", - config.physical_address, config.length, config.buffer_id, - static_cast(config.play_position)); + static_cast(config.physical_address), static_cast(config.length), + config.buffer_id, static_cast(config.play_position)); } if (config.loop_related_dirty && config.loop_related != 0) { @@ -303,7 +304,8 @@ void Source::ParseConfig(SourceConfiguration::Configuration& config, }); } LOG_TRACE(Audio_DSP, "enqueuing queued {} addr={:#010x} len={} id={}", i, - b.physical_address, b.length, b.buffer_id); + static_cast(b.physical_address), static_cast(b.length), + b.buffer_id); } } config.buffers_dirty = 0;