Commit Graph

54 Commits

Author SHA1 Message Date
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
qwertymodo
32f70fa38e MSU-1 pop/skip fixes 2017-07-05 17:01:07 -07:00
OV2
0df033d3b7 Fix MSU1 audio 2017-06-12 21:50:02 +02:00
Brandon Wright
cf846e0c56 Use 32040hz with more consistency. 2016-12-09 17:50:50 -06:00
Brandon Wright
38e8717ef3 Add back time ratio change. Buffer levels are stable, so this is mathematically correct. 2016-11-04 14:39:30 -05:00
qwertymodo
07ce784c1b Fix looping and (partly) resume. 2016-11-03 19:14:45 -07:00
qwertymodo
024d92086a Merge branch 'msu1' of https://github.com/snes9xgit/snes9x into msu1 2016-11-03 15:33:14 -07:00
qwertymodo
0e6b86d00e Fix MSU-1 audio file read loop 2016-11-03 14:56:46 -07:00
Brandon Wright
8dd1ef0047 Merge branch 'msu1' of github.com:snes9xgit/snes9x into msu1 2016-11-03 15:48:14 -05:00
Brandon Wright
91790a5e08 Generate sample example. 2016-11-03 15:47:33 -05:00
qwertymodo
f1d07c7572 Actually mix MSU sample instead of adding the DSP twice. 2016-11-03 13:17:12 -07:00
qwertymodo
f13676cfd3 Fix MSU-1 sample buffer size 2016-11-03 13:10:01 -07:00
Brandon Wright
1f7926c48b Loop over sample size, not buffer size. 2016-11-03 14:55:57 -05:00
Brandon Wright
782bdeb2eb Whoops. shrink_buffer_size is undefined unless 8-bit or Mono is used. 2016-11-03 14:53:13 -05:00
Brandon Wright
add3a16f25 Increase buffer size. Don't use sizeof on heap buffer (returns pointer size). 2016-11-03 14:45:20 -05:00
qwertymodo
3c0f6bfdee Begin adding MSU-1 support. Data streaming is working in Windows, audio streaming is not. 2016-11-03 11:40:47 -07:00
Brandon Wright
1661fc838c Add copyrights. 2016-10-15 11:31:26 -05:00
Brandon Wright
ddb1527236 Bump OV2 Windows port copyright. 2016-10-07 12:53:18 -05:00
Brandon Wright
006fc22ebb Add byuu copyright for his S-SMP 2016-10-07 12:47:07 -05:00
Brandon Wright
91aebfe759 Update some copyrights, bump version number. 2016-10-01 20:03:03 -05:00
Brandon Wright
026f9eaa1e Fix some possible problems from cppcheck. Everything else looks fine. 2016-09-27 15:25:37 -05:00
Alcaro
d81afb2383 Fix uninitialized value warning from Valgrind. 2014-02-18 22:34:23 +01:00
OV2
ba634f195c Align struct name with rest of core 2013-05-18 22:28:21 +02:00
twinaphex
055aeb5b7a (Libretro) Fix Clang build - anonymous structs is illegal for ISO
C++
2013-05-18 20:19:16 +02:00
bl0ckeduser
ef41a96c57 Fix header path in apu/apu.cpp 2012-02-03 17:43:32 -05:00
OV2
a66f10d9e4 Convert old savestates for new smp 2012-01-20 04:24:36 +01:00
Brandon Wright
4668ae5850 Fix save state error. 2011-09-07 11:46:52 -05:00
Brandon Wright
4fdc7af7da Set the output buffer after loading state so the first set of samples
isn't excluded.
2011-07-06 09:20:31 -05:00
Brandon Wright
baa4de3713 Save a few more mmapped registers to SPC files. Fix key-on trigger. 2011-07-05 14:05:36 -05:00
Brandon Wright
63b0a6d45e Add DSP clock remainder to save state. 2011-07-04 17:33:09 -05:00
Brandon Wright
91e69af029 Loosen SMP<->DSP synchronization. 2011-06-27 15:41:17 -05:00
Brandon Wright
02a3b83c87 Fix landing buffer size claim. 2011-06-27 13:20:26 -05:00
Brandon Wright
ebc9e721f6 Add SPC dumping support. 2011-06-26 05:33:14 -05:00
Brandon Wright
39add9b47e Save states support for new APU. 2011-06-24 06:42:04 -05:00
Brandon Wright
1af39f3845 Clean things up slightly. Switch CYCLE_ACCURATE off, since things seem
to work fine without it.
2011-06-23 05:24:13 -05:00
Brandon Wright
5d5eaedd5e New SMP is tentatively "running" now. 2011-06-22 06:03:29 -05:00
Brandon Wright
10a521e39c byuu APU now being used. Nothing works yet.
Sync is broken, but the new SMP will handle ratios now.
Save states need to be redone without serializer.
No SPC dumping.
2011-06-18 05:31:44 -05:00
Brandon Wright
c9c49095ee Add byuu's SMP and DSP files to tree. 2011-06-12 01:25:22 -05:00
OV2
c47598f3cf Update copyright in all files 2011-04-11 21:51:20 +02:00