mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 14:21:52 +01:00
Fix audren voice sample copying
This commit is contained in:
parent
745ea19f42
commit
17feb68eb5
@ -66,7 +66,7 @@ namespace skyline::service::audio::IAudioRenderer {
|
||||
switch (format) {
|
||||
case skyline::audio::AudioFormat::Int16:
|
||||
samples.resize(currentBuffer.size / sizeof(i16));
|
||||
buffer.copy_from(samples);
|
||||
span(samples).copy_from(buffer);
|
||||
break;
|
||||
case skyline::audio::AudioFormat::ADPCM: {
|
||||
samples = adpcmDecoder->Decode(buffer);
|
||||
|
Loading…
Reference in New Issue
Block a user