Commit Graph

189 Commits

Author SHA1 Message Date
BearOso
94125d4781 Resampler: Consistently use signed ints. 2023-10-10 19:22:40 -05:00
BearOso
8a4732c9f2 Fix segfault. 2023-08-25 11:47:29 -05:00
BearOso
dd2072b28e Fix silence adder. 2023-08-25 11:47:29 -05:00
BearOso
12e7f0d21f Update input rate at right locations. 2023-08-25 11:47:29 -05:00
BearOso
e9b4f6d7fe Work on sound driver levels. 2023-08-25 11:47:29 -05:00
BearOso
c13e4d8330 Try to fix resampler to be thread-safe. 2023-08-25 11:47:29 -05:00
BearOso
1b1325066b Qt port. 2023-08-25 11:47:29 -05:00
BearOso
7b7ce04f29 dsp: Fix typo by omission. 2023-05-01 11:52:12 -05:00
BearOso
cbc14ee0df sdsp: Check for invalid scale in defined way. 2023-04-30 15:51:14 -05:00
OV2
afe8dd9f01 Resampler: force even buffer sizes in resize 2023-03-29 12:27:22 +02:00
BearOso
835ad39026 Resampler: Allow only even buffer sizes. 2023-03-28 12:34:35 -05:00
OV2
65d07dc838 Wrap around when pushing single samples 2023-03-28 18:11:27 +02:00
BearOso
f1881a21fc Adjust snapshot to load old DSP data. 2023-03-16 15:21:41 -05:00
BearOso
410c52a7c9 SPC<-->DSP use two sets of registers. 2023-03-16 14:42:23 -05:00
BearOso
eb24fd599f apu: Clean up a bit.
Also fixes MSU not reflecting input rate setting.
2023-03-07 14:01:29 -06:00
BearOso
596e84af2a Start simplifying filesystem stuff. 2023-03-07 13:58:21 -06:00
OV2
3c4982eddd msu1: return minimum available samples in resamplers 2022-11-06 02:14:49 +01:00
Brandon Wright
b091b90547 Fix out-of-bounds memory access. (Sour via byuu) 2019-08-01 13:07:44 -05:00
bearoso
bf4e6f8b62
Merge pull request #523 from yoffy/unmacro-tile
Unmacro tile.cpp
2019-06-26 16:46:12 -05:00
Brandon Wright
f8a0fadfa1 GTK: Use C++ memory allocation. 2019-05-14 15:34:25 -05:00
Brandon Wright
f70e072bd9 Revert to higher APU clock. 2019-04-12 12:10:51 -05:00
Brandon Wright
6a789f9947 Add the separate echo buffer option. 2019-04-08 17:16:24 -05:00
Kenta Yoshimura
c71429c2b7 Merge FORCE_INLINE macro to alwaysinline into port.h. 2019-04-08 01:07:16 +09:00
Brandon Wright
d975010369 Fix inadvertent use of C++11 in core. 2019-03-30 19:18:01 -05:00
Brandon Wright
257638f77a Clamp MSU1+S-DSP mixing. 2019-03-12 16:31:44 -05:00
Brandon Wright
8624a3d013 Revert IPL rom optimization.
Something's not quite right with it.
2019-03-10 20:19:54 -05:00
Brandon Wright
a70e2ccda6 A stupid mistake fixed. 2019-02-27 20:31:36 -06:00
Brandon Wright
8c9d900c10 Add back optimizations. 2019-02-27 18:57:15 -06:00
Brandon Wright
7df5eaeaf1 Revert "APU: Seemingly obvious optimization."
This reverts commit f24ca1f8a2.
2019-02-27 18:57:07 -06:00
Brandon Wright
9a44626686 Revert "IPL rom mapping optimization."
This reverts commit 7dd2f760f7.
2019-02-27 18:56:54 -06:00
Brandon Wright
f2069e8af9 Remove extra parameter from S9xInitSound
Explain disabling USE_SLANG in how2compile.txt
2019-02-27 11:02:22 -06:00
Brandon Wright
3b854d7c57 APU: Clean up what we're not using. 2019-02-23 16:00:39 -06:00
tmkk
b2fe66e242 resampler.h: cstdint is a C++11 header; include stdint.h instead when not available 2019-02-23 14:46:09 +09:00
Brandon Wright
7dd2f760f7 IPL rom mapping optimization. 2019-02-21 13:40:33 -06:00
Brandon Wright
f24ca1f8a2 APU: Seemingly obvious optimization. 2019-02-21 12:42:27 -06:00
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
Alias Letterman
fd177fb317 Some extra checks in resampler.h 2019-02-11 12:32:17 -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
845366f139 Make Resampler a class again. 2019-02-09 12:21:38 -06:00
Brandon Wright
e938225cd2 APU: Remove extra buffers. 2019-02-09 12:03:34 -06:00
Brandon Wright
8c9c3eb6a4 Fix buffer overrun. 2019-02-09 11:40:42 -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