dolphin/Source/Plugins/Plugin_DSP_HLE/Src
mylek4 340912dc1e DSP HLE
* Some fixes to linear interpolation
* Adds interpolation to ADPCM samples
* Relaxed a volume limit in ADPCM_Vol






Fixed:
- Frac rolls over one iteration before samplePos advances. Can introduce noise similar to flipping samples (1234 => 1214). Introduced oldFrac to fix this. This isn't as noticeable as it probably should be because of below.

- When samplePos doesn't advance it interpolates between two copies of the same sample which actually does nothing. Changed it to always use the current and next sample.

- When frac is 0 you should get 100% of yn2 instead of ~99% added a +yn2 to balance it.


Other changes:
- Added linear interpolation for ADPCM. Sounds like a good idea.

- Set ADPCM_Vol to clamp to x8000 instead of x4e20. Some games will play some sounds at x8000 volume anyways since the volume is applied before this. Lower limit can result in quiet music (x4e20) but some loud ambient sounds (0x8000).


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6041 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-08-03 15:30:33 +00:00
..
UCodes DSP HLE 2010-08-03 15:30:33 +00:00
Config.cpp Warp back to 5578. Sorry for the lost changes, please re-apply. Reason: 5579 is a complete disaster. 2010-06-03 18:05:08 +00:00
Config.h space changes, merge #defines, language fix, and code reorder/cleanup :P 2010-06-05 01:38:22 +00:00
ConfigDlg.cpp Treat strings from external sources as 8-bit so FromAscii doesn't barf. 2010-06-11 08:39:03 +00:00
ConfigDlg.h space changes, merge #defines, language fix, and code reorder/cleanup :P 2010-06-05 01:38:22 +00:00
DSPHandler.cpp code cleanup, focusing on dsp hle 2010-02-28 18:21:22 +00:00
DSPHandler.h Revert the SysConf change, since it was intended by shuffle. 2010-02-19 18:50:01 +00:00
Globals.h code cleanup, focusing on dsp hle 2010-02-28 18:21:22 +00:00
HLEMixer.cpp Sound System Rework: Phase 2 (cont'ed) 2009-12-25 11:59:04 +00:00
HLEMixer.h Sound System Rework: Phase 2 (cont'ed) 2009-12-25 11:59:04 +00:00
MailHandler.cpp Fix some cases of variables being used uninitialized. Also some unused 2010-06-02 20:35:12 +00:00
MailHandler.h Very small but very COOL fix. 2009-11-27 15:07:52 +00:00
SConscript Some refinements to (r5955+r5962+r5964): 2010-07-24 17:39:17 +00:00
main.cpp Removed the hackery that was being done with the plugin configuration dialogs on windows. That was unnecessary and ugly. The HWND type is dead for non windows. Also cleaned up the gui a little. 2010-07-30 03:51:49 +00:00
main.h code cleanup, focusing on dsp hle 2010-02-28 18:21:22 +00:00
stdafx.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
stdafx.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00