Commit Graph

92 Commits

Author SHA1 Message Date
Brandon Wright 9c120fe3bf Adjust default input rate, too. 2019-02-19 17:54:57 -06:00
Brandon Wright aa867abcd3 Use nominal frequency ratio for APU. 2019-02-19 17:50:25 -06:00
Brandon Wright 504be0917b win32: Readd version to title string. 2019-02-19 14:26:48 -06:00
Brandon Wright 2164c86158 Remove S9xFinalizeSamples. 2019-02-12 18:27:33 -06:00
OV2 c052462248 Remove a few warnings 2019-02-11 17:12:02 +01:00
Alias Letterman b1039e7c65 Fix Windows build. Tweak XAudio a bit. 2019-02-09 16:46:08 -06:00
Brandon Wright e938225cd2 APU: Remove extra buffers. 2019-02-09 12:03:34 -06:00
Brandon Wright ac03facaa9 Add single sample push. 2019-02-08 20:32:42 -06:00
Brandon Wright 36406a6627 Add a consolidated resampler. 2019-02-08 20:23:18 -06:00
Brandon Wright 2701e7219c Get SoundSync working and don't overflow dsp buffer. 2019-02-06 15:00:45 -06:00
Brandon Wright 9994023f09 Allow use of Snes9x-side buffer if needed. 2019-02-05 19:56:59 -06:00
Brandon Wright 1a41ca21b3 Don't clear MSU if not enabled. Change sound sync level. 2019-02-05 19:34:50 -06:00
Brandon Wright c376908f2e Revert "Revert "APU: Big refactor." I'll put this in a branch."
This reverts commit 19f03c44de.
2019-02-05 17:21:23 -06:00
Brandon Wright 19f03c44de Revert "APU: Big refactor." I'll put this in a branch.
This reverts commit aebfc85cdf.
2019-02-05 17:20:23 -06:00
Brandon Wright aebfc85cdf APU: Big refactor.
Remove 8-bit, Mono, and Reverse Stereo options.
2019-02-05 16:26:22 -06:00
Brandon Wright fae0a65b95 Missed a couple. 2018-11-15 17:35:52 -06:00
bladeoner d8a507bef6 Fix several file references in the APU folder 2018-08-19 01:40:32 +02:00
Brandon Wright 6d15bf7d94 Make interpolation config a little cleaner.
Add config file option to all ports.
2018-08-06 12:31:07 -05:00
Brandon Wright f60abd9e94 Add DSP interpolation code. 2018-08-05 17:04:06 -05:00
Brandon Wright abb4b4c39f Use Snes9x aliases instead of stdint types here. 2018-07-28 15:59:15 -05:00
Brandon Wright 83480765f1 Sanity check input rate better. 2018-06-07 15:49:41 -05:00
Brandon Wright cb7226d071 Remove forced alignment on landing buffer. 2018-06-04 16:14:59 -05:00
qwertymodo 15f76f7eca Ensure all MSU-1 reads are stereo channel aligned 2018-05-26 20:02:16 -07:00
Brandon Wright 20bd60a3c6 Update copyright dates. 2018-05-25 15:44:52 -05:00
Brandon Wright f8a7f23a4b Revert "Add threaded APU option."
This reverts commit 045f68bb26.
2018-04-13 10:25:26 -05:00
Brandon Wright 551e527784 Revert "Add a wait for threads when we hand away control. Probably not needed due to all the extra processing during end-of-frame."
This reverts commit e1a4ef93b6.
2018-04-13 10:25:25 -05:00
Brandon Wright f422730808 Revert "Attempt at Windows threads."
This reverts commit 970905b83b.
2018-04-13 10:25:24 -05:00
Brandon Wright 71f64d3a60 Revert "Add missing #ifdef guard."
This reverts commit a817eff105.
2018-04-13 10:25:23 -05:00
Brandon Wright 49ab4c3f28 Revert "Use semaphores on Windows for backward compatibility."
This reverts commit 4ede4b7447.
2018-04-13 10:25:22 -05:00
Brandon Wright 60c6d3e802 Revert "Close semaphore handles."
This reverts commit 2426c2412f.
2018-04-13 10:25:16 -05:00
Brandon Wright 085e7c05f2 Revert "Allow thread reinitialization."
This reverts commit 8b99749aba.
2018-04-13 10:25:07 -05:00
Brandon Wright 8b99749aba Allow thread reinitialization. 2018-04-13 09:25:18 -05:00
Brandon Wright 2426c2412f Close semaphore handles. 2018-04-12 19:15:10 -05:00
Brandon Wright 4ede4b7447 Use semaphores on Windows for backward compatibility. 2018-04-12 19:10:58 -05:00
Brandon Wright a817eff105 Add missing #ifdef guard. 2018-04-12 17:20:30 -05:00
Brandon Wright 970905b83b Attempt at Windows threads. 2018-04-12 17:17:40 -05:00
Brandon Wright e1a4ef93b6 Add a wait for threads when we hand away control. Probably not needed due to all the extra processing during end-of-frame. 2018-04-12 16:51:00 -05:00
Brandon Wright 045f68bb26 Add threaded APU option. 2018-04-12 16:26:10 -05:00
Brandon Wright 1369d724f7 Update config variable and sanitize input. 2017-11-24 13:03:24 -06:00
Brandon Wright 618519457b Optimize rate control formula and remove placeholder copy-paste. 2017-11-24 08:19:05 -06:00
Brandon Wright a34dbef0b9 Remove debugging printfs. 2017-11-22 18:18:33 -06:00
Brandon Wright 39f05664cd Add dynamic rate control for audio, based on Retroarch/Themaister's paper
Adds support to alsa and oss sound drivers on GTK+ port.
2017-11-20 12:07:54 -06:00
Brandon Wright 7a2ca6dc2a Update copyrights. 2017-11-17 16:00:58 -06:00
OV2 a66b88b276 Release msu data and audio streams on exit, use unzClose when closing file 2017-10-14 00:32:38 +02:00
OV2 bfc326fc19 Use same spc buffer size in all cases 2017-10-01 14:31:31 +02:00
qwertymodo 158b509bbb Merge branch 'msu1-zip' 2017-09-03 14:56:32 -07:00
OV2 27fa8ecb97 msu1: generate even if muted 2017-09-03 21:13:01 +02:00
OV2 75037ef380 msu1: drop samples equal to dsp dropped samples 2017-09-03 20:15:45 +02:00
OV2 49ed2ca631 msu1: fix desync with turbo mode 2017-09-02 22:17:57 +02:00
qwertymodo b230e50ec5 Fix MSU-1 audio memory leak 2017-08-30 17:59:39 -07:00