Revert "Add more audio logging to pinpoint issues better"

This reverts commit b75251742c.
This commit is contained in:
edendev 2025-04-30 18:21:01 -07:00
parent b75251742c
commit 20f2e4dffd
2 changed files with 8 additions and 17 deletions

View file

@ -21,15 +21,12 @@ namespace AudioCore::Renderer {
template <typename T, CommandId Id>
T& CommandBuffer::GenerateStart(const s32 node_id) {
if (size + sizeof(T) >= command_list.size_bytes()) {
LOG_ERROR(Service_Audio,
"CommandBuffer OVERFLOW: size={} + {} > capacity={}",
size_, sizeof(T), command_list.size_bytes());
LOG_ERROR(
Service_Audio,
"Attempting to write commands beyond the end of allocated command buffer memory!");
UNREACHABLE();
}
LOG_TRACE(Service_Audio,
"GenerateStart: CmdId={} node={} curSize={} → newSize={}",
static_cast<int>(Id), node_id, size_, size_ + sizeof(T));
auto& cmd{*std::construct_at<T>(reinterpret_cast<T*>(&command_list[size]))};
cmd.magic = CommandMagic;
@ -47,11 +44,6 @@ void CommandBuffer::GenerateEnd(T& cmd) {
estimated_process_time += cmd.estimated_process_time;
size += sizeof(T);
count++;
// Trace completion: how many commands & bytes are now committed
LOG_TRACE(Service_Audio,
"GenerateEnd<{}>: totalCmds={} totalBytes={} estTime={}",
static_cast<int>(cmd.type), count, size, estimated_process_time);
}
void CommandBuffer::GeneratePcmInt16Version1Command(const s32 node_id,