aboutsummaryrefslogtreecommitdiff
path: root/source/soundux.cpp
diff options
context:
space:
mode:
authorNebuleon Fumika2013-02-01 18:27:03 -0500
committerNebuleon Fumika2013-02-01 18:27:03 -0500
commit30fe9eaf6ab8b0701419949a4415736675d15377 (patch)
tree1209039b2d19ef7099686b3420ea9bba8855d3aa /source/soundux.cpp
parent58948ffd1d05084f3d84bc12a2e75144741b292c (diff)
downloadsnesemu-30fe9eaf6ab8b0701419949a4415736675d15377.tar.gz
snesemu-30fe9eaf6ab8b0701419949a4415736675d15377.tar.bz2
snesemu-30fe9eaf6ab8b0701419949a4415736675d15377.zip
While killing time between frames, process audio instead of doing nothing. Also correctly fill the buffer with silence when returning from pause. This reduces or eliminates crackling.
The emulator kills time in two circumstances: * In automatic frameskip mode, without fast forwarding, the emulator kills time if it rendered a frame early. * In manual frameskip mode, without fast forwarding, the emulator kills time to wait for the next rendered frame.
Diffstat (limited to 'source/soundux.cpp')
0 files changed, 0 insertions, 0 deletions