dolphin/Source/Plugins
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
..
Plugin_DSP_HLE DSP HLE 2010-08-03 15:30:33 +00:00
Plugin_DSP_LLE make "show pc" in dsp lle debugger actually work again 2010-08-02 05:30:38 +00:00
Plugin_VideoDX9 Spelling fixes, etc 2010-08-01 14:46:10 +00:00
Plugin_VideoDX11 Marginally improve FPS counting logic in the video plugins. 2010-08-01 14:43:07 +00:00
Plugin_VideoOGL Stub out glGetError() calls from the release build of the OpenGL plug-in (found by ector, code by LordMark). Gives a speed-up in the OpenGL plug-in. 2010-08-03 10:48:49 +00:00
Plugin_VideoSoftware Stub out glGetError() calls from the release build of the OpenGL plug-in (found by ector, code by LordMark). Gives a speed-up in the OpenGL plug-in. 2010-08-03 10:48:49 +00:00
Plugin_Wiimote 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
Plugin_WiimoteNew Avoid always-true and signed/unsigned comparisons. 2010-07-31 19:06:44 +00:00