Fix audio issue in The Legend of Zelda - Echoes of Wisdom
All checks were successful
eden-license / license-header (pull_request) Successful in 24s

This commit is contained in:
MaranBr 2025-09-26 16:41:21 -04:00 committed by crueter
parent 020ad29a8c
commit f2e4c2c180

View file

@ -38,7 +38,8 @@ void DeviceSinkCommand::Process(const AudioRenderer::CommandListProcessor& proce
std::array<s16, TargetSampleCount * MaxChannels> samples{};
for (u32 channel = 0; channel < input_count; channel++) {
const auto offset{inputs[channel] * out_buffer.frames};
//const auto offset{inputs[channel] * out_buffer.frames};
const auto offset{channel * out_buffer.frames};
for (u32 index = 0; index < out_buffer.frames; index++) {
samples[index * input_count + channel] =