[audio] Fix release buffer for audio input (#3336)

fixes microphone release buffer and data. Tested with Let's Sing 2025

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3336
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Co-authored-by: Maufeat <sahyno1996@gmail.com>
Co-committed-by: Maufeat <sahyno1996@gmail.com>
This commit is contained in:
Maufeat 2026-01-18 16:20:32 +01:00 committed by crueter
parent d72553f519
commit 84e11a52ba
No known key found for this signature in database
GPG key ID: 425ACD2D4830EBC6
2 changed files with 13 additions and 1 deletions

View file

@ -113,6 +113,8 @@ public:
break;
}
session.ReleaseBuffer(buffers[index]);
ReleaseBuffer(index, core_timing.GetGlobalTimeNs().count());
buffer_released = true;
}