diff options
author | Nebuleon Fumika | 2013-02-01 18:27:03 -0500 |
---|---|---|
committer | Nebuleon Fumika | 2013-02-01 18:27:03 -0500 |
commit | 30fe9eaf6ab8b0701419949a4415736675d15377 (patch) | |
tree | 1209039b2d19ef7099686b3420ea9bba8855d3aa /source/netplay.h | |
parent | 58948ffd1d05084f3d84bc12a2e75144741b292c (diff) | |
download | snesemu-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/netplay.h')
0 files changed, 0 insertions, 0 deletions