mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 09:32:52 +00:00
Audio Performance Change
changed bufferSource variable to constant...This fixes the constant sound popping in Safari.
This commit is contained in:
parent
8ec326a43f
commit
cf81ddcb4e
@ -61,7 +61,7 @@ var LibraryRWebAudio = {
|
||||
else startTime = RA.context.currentTime;
|
||||
RA.buffers[index].endTime = startTime + RA.buffers[index].duration;
|
||||
|
||||
var bufferSource = RA.context.createBufferSource();
|
||||
const bufferSource = RA.context.createBufferSource();
|
||||
bufferSource.buffer = RA.buffers[index];
|
||||
bufferSource.connect(RA.context.destination);
|
||||
bufferSource.start(startTime);
|
||||
|
Loading…
x
Reference in New Issue
Block a user