Commit Graph

21 Commits

Author SHA1 Message Date
jdpurcell 58cd9796f2 Allow CPU throttle to catch up for more than 3 missed frames if the user has configured a large sound buffer size.
SoundOutputProvider: Better workaround for cores whose audio output goes dead (0 samples) at times. Better underrun handling. Different threshold for samples surplus vs. deficit.
2015-01-28 00:53:49 +00:00
jdpurcell c038ed0ed7 Sound/SoundOutputProvider - avoid buffer reallocation. 2015-01-26 15:00:11 +00:00
jdpurcell 47956e6d86 Try to make the volume level better match the perceived loudness. 2015-01-25 17:00:08 +00:00
jdpurcell 984edda62f Fix sound not being completely silent at level 0. 2015-01-25 16:08:28 +00:00
jdpurcell 9b9ef1de0c Tweak threshold for sound stuff. 2015-01-25 06:10:00 +00:00
jdpurcell e69dcfc167 Change minimum sound buffer size from 80 ms to 60 ms. 2015-01-25 05:33:56 +00:00
jdpurcell b66dc6ba1b SoundOutputProvider tweak. 2015-01-25 05:03:21 +00:00
jdpurcell 69c66d12b1 Configurable DirectSound buffer size.
A bunch of changes in Sound / SoundOutputProvider to support this and behave nicely.
2015-01-25 03:33:45 +00:00
jdpurcell 219d10fd7c SoundOutputProvider: Proper fix for cores with weird audio timing (e.g. N64). 2015-01-24 03:49:22 +00:00
jdpurcell e3e5ae4934 New SoundOutputProvider class which takes the place of BufferedAsync. This should be far less prone to audible glitches and reduces latency. 2015-01-23 04:16:25 +00:00
jdpurcell 3b524cdbf2 Sound - mostly just cleanup and preparation for some future changes. 2015-01-23 02:09:25 +00:00
jdpurcell f1480740e3 Detect and recover from buffer underflow, i.e. resynchronize the write position so that our writes always end up just before the play cursor. 2015-01-17 01:56:23 +00:00
jdpurcell 1470add91d Get rid of magic number. 2015-01-16 06:05:25 +00:00
jdpurcell 264063d8ac Few more cleanups. 2015-01-16 05:53:44 +00:00
jdpurcell 1a34ec6a2e Cleanup/fixes/etc. 2015-01-16 05:04:44 +00:00
jdpurcell 1862ddd927 Even if no samples are currently needed for writing out to the DirectSound buffer, we still must request 0 samples from BufferedAsync so that it can queue up samples from its base sound provider. 2015-01-16 04:57:55 +00:00
jdpurcell 28f1ad1c0e Allow clock throttle to take over for audio / vsync throttles during fast forward or rewind for proper speed control. 2015-01-13 04:21:32 +00:00
adelikat 7182d77c05 much bigger dynamic contrast in volume range 2014-10-09 21:28:00 +00:00
adelikat 25b242ade4 Clean up namespaces for BizHawk.Emulation sound files 2013-11-14 19:33:13 +00:00
adelikat 9751fd5a1a Move interfaces and base implemenations from emulation to emulation.common 2013-11-04 01:39:19 +00:00
adelikat c669680e07 Rename Multiclient folder 2013-11-03 04:05:56 +00:00