Commit Graph

31 Commits

Author SHA1 Message Date
bladeoner
4a5a027e61 Use C++ memory allocation. (#849) 2019-05-15 18:55:12 -06:00
bladeoner
c6b0535999 Snes9x - Revert to higher APU clock. (#841) 2019-04-12 13:24:23 -06:00
bladeoner
4e057ed7b4 Snes9x - Add the separate echo buffer option. (#836)
Snes9x
- Add the separate echo buffer option.
2019-04-10 12:21:57 -06:00
bladeoner
087ac22029 Backport and adjusted the Refactored APU Resampler (#821) 2019-03-03 09:28:18 -07:00
bladeoner
dc9149939e Backport frequency changes (#820)
Adjust default input rate, too.
Use nominal frequency ratio for APU.
2019-02-23 18:51:28 -07:00
bladeoner
531f0df37e Add stub license 2018-12-27 20:24:49 +01:00
bladeoner
1479319bb5 Add Interpolation option and Add Gamemenu Audio
This adds the following:
- A new gamemenu option called Audio
- Under the new gamemenu option an option Interpolation with three options:  Gaussian (Default), Linear, None
2018-12-23 18:14:30 +01:00
bladeoner
e918ab8a25 Use a license stub everywhere.
This points to the full license in the root directory.
2018-12-03 12:26:02 +01:00
Daryl Borth
3d298ff126 add logic to update the playback rate dynamically 2018-08-22 17:24:37 -06:00
Daryl Borth
babf402d01 rewritten audio code. a work-in-progress. 2018-08-22 15:19:11 -06:00
Daryl Borth
e67a58812b revert recent APU changes. they would randomly compile "wrong" - out <=
&m.extra_buf [extra_size] assert would trigger
2018-08-22 10:35:43 -06:00
Daryl Borth
f69cd5baee refactoring. we only use the HermiteResampler 2018-08-22 08:54:18 -06:00
Daryl Borth
632720be0c APU - types cleanup, port more changes from game-music-emu -
https://bitbucket.org/mpyne/game-music-emu
2018-08-20 14:05:15 -06:00
Daryl Borth
c77b4f4963 try to improve audio sync 2018-08-19 16:38:33 -06:00
Etienne Haarsma
70c7e883d7 Code cleanup and fix include references
- Fixed all broken include references
- Cleanup memmap.cpp code by removing UNZIP and JMA SUPPORT code which are not used
- Cleanup reader.cpp code by removing the UNZIP SUPPORT reference to unzip.h
2018-08-18 12:04:35 +02:00
Daryl Borth
4f2234cbc2 fix SPC crash that happens on some games, eg: chrono trigger
(http://www.snes9x.com/phpbb3/viewtopic.php?f=6&t=6881)

the snes9x team gave up and replaced the core, but others have fixed it
https://bitbucket.org/mpyne/game-music-emu/issues/18/spc_cpucpp-492-always-assert-s
2018-08-15 12:54:52 -06:00
Daryl Borth
05a607a8f7 update hermite resampler to support dynamic rate control (fixes audio
blips), remove some asserts in APU.
2018-08-15 11:49:27 -06:00
Daryl Borth
7da04d7d01 fix sound crackling 2018-08-14 11:00:45 -06:00
Daryl Borth
a9f851a19f Finish update to snes9x 1.56 master. Disable multi pixel format support
for a speed boost.
2018-08-12 16:05:46 -06:00
Daryl Borth
856a1ac127 backport more changes from snes9x master 2018-08-11 14:56:31 -06:00
bladeoner
74f3ee4caf
MSU1 fixes backported
The following fixes are backported from the Snes9x master branch:
- Release msu data and audio streams on exit, use unzClose when closing
- Fix MSU-1 channel swap on loop
- Ensure all MSU-1 reads are stereo channel aligned
- Clean up S9xMSU1Generate code
- Fix MSU1 swapping.
- Fix casting on MSU1 volume
- Get rid of "Unable to find msu file" console spam
2018-07-29 19:33:25 +02:00
Etienne Haarsma
a0ff37c92e Add MSU1 support (thanks qwertymodo!) 2018-01-17 15:59:23 +01:00
dborth
529a71f6fb 2011-05-06 04:34:53 +00:00
dborth
ee7c66d257 sync APU code 2011-04-21 15:49:56 +00:00
dborth
221bab8a9a Introduce new APU timing hack
Timings.APUAllowTimeOverflow allows the SPC to cross the time limit
set by CPU.Cycles. Currently fixes Earthworm Jim 2, Ms. Pacman and
NBA Hang Time.
2010-10-19 02:24:07 +00:00
dborth
796df8935d sync with upstream 2010-10-03 20:13:53 +00:00
dborth
ee2277f76f finalize 4.2.1 2010-07-15 03:52:42 +00:00
dborth
4e752fceb8 upstream changes. change sound defaults 2010-04-06 02:13:53 +00:00
dborth
c1546f3132 add new APU 2010-01-27 22:12:09 +00:00
dborth
b0dc24689f revert trunk 2009-11-30 08:14:38 +00:00
dborth
e7d0b3df78 initial port of snes9x 1.52 beta 2009-11-25 06:35:14 +00:00