citra-emu
/
citra
Archived
1
0
Fork 0

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
This commit is contained in:
Daniel López Guimaraes 2023-10-01 07:41:25 +01:00 committed by GitHub
parent 50f22d1f59
commit 376d33cff4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -231,7 +231,8 @@ void Source::ParseConfig(SourceConfiguration::Configuration& config,
} }
} }
LOG_TRACE(Audio_DSP, "partially updating embedded buffer addr={:#010x} len={} id={}", 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<u32>(config.length),
config.buffer_id);
} }
if (config.embedded_buffer_dirty) { 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={}", LOG_TRACE(Audio_DSP, "enqueuing embedded addr={:#010x} len={} id={} start={}",
config.physical_address, config.length, config.buffer_id, static_cast<u32>(config.physical_address), static_cast<u32>(config.length),
static_cast<u32>(config.play_position)); config.buffer_id, static_cast<u32>(config.play_position));
} }
if (config.loop_related_dirty && config.loop_related != 0) { 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, LOG_TRACE(Audio_DSP, "enqueuing queued {} addr={:#010x} len={} id={}", i,
b.physical_address, b.length, b.buffer_id); static_cast<u32>(b.physical_address), static_cast<u32>(b.length),
b.buffer_id);
} }
} }
config.buffers_dirty = 0; config.buffers_dirty = 0;