mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(WiiU) fix clicking artifatcs: endOffset was actually the last played
sample and not the looping/end offset.
This commit is contained in:
parent
9ecd8b18e0
commit
dddff81d3a
@ -106,14 +106,14 @@ static void* ax_audio_init(const char* device, unsigned rate, unsigned latency)
|
||||
ax->offsets_l.data = ax->buffer_l;
|
||||
ax->offsets_l.currentOffset = 0;
|
||||
ax->offsets_l.loopOffset = 0;
|
||||
ax->offsets_l.endOffset = AX_AUDIO_COUNT;
|
||||
ax->offsets_l.endOffset = AX_AUDIO_COUNT - 1;
|
||||
ax->offsets_l.loopingEnabled = AX_VOICE_LOOP_ENABLED;
|
||||
ax->offsets_l.dataType = AX_VOICE_FORMAT_LPCM16;
|
||||
|
||||
ax->offsets_r.data = ax->buffer_r;
|
||||
ax->offsets_r.currentOffset = 0;
|
||||
ax->offsets_r.loopOffset = 0;
|
||||
ax->offsets_r.endOffset = AX_AUDIO_COUNT;
|
||||
ax->offsets_r.endOffset = AX_AUDIO_COUNT - 1;
|
||||
ax->offsets_r.loopingEnabled = AX_VOICE_LOOP_ENABLED;
|
||||
ax->offsets_r.dataType = AX_VOICE_FORMAT_LPCM16;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user