dolphin/Source/Plugins/Plugin_DSP_HLE/Src/UCodes
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
..
UCode_AX.cpp Committing some cleanups by avindra: 2010-07-18 10:11:34 +00:00
UCode_AX.h code cleanup, focusing on dsp hle 2010-02-28 18:21:22 +00:00
UCode_AX_ADPCM.h DSP HLE 2010-08-03 15:30:33 +00:00
UCode_AX_Voice.h DSP HLE 2010-08-03 15:30:33 +00:00
UCode_AXStructs.h code cleanup, focusing on dsp hle 2010-02-28 18:21:22 +00:00
UCode_AXWii.cpp Committing some cleanups by avindra: 2010-07-18 10:11:34 +00:00
UCode_AXWii.h code cleanup, focusing on dsp hle 2010-02-28 18:21:22 +00:00
UCode_CARD.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
UCode_CARD.h code cleanup, focusing on dsp hle 2010-02-28 18:21:22 +00:00
UCode_InitAudioSystem.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
UCode_InitAudioSystem.h ROM dissasm "refresh" + RE + small fixes 2010-01-24 00:31:20 +00:00
UCode_ROM.cpp ROM dissasm "refresh" + RE + small fixes 2010-01-24 00:31:20 +00:00
UCode_ROM.h ROM dissasm "refresh" + RE + small fixes 2010-01-24 00:31:20 +00:00
UCode_Zelda.cpp Avoid always-true and signed/unsigned comparisons. 2010-07-31 19:06:44 +00:00
UCode_Zelda.h Hack this dodgy compile-time assert so it works with gcc. 2010-05-26 20:47:56 +00:00
UCode_Zelda_ADPCM.cpp probable linux build fix, thanks cnu. 2010-06-13 10:14:53 +00:00
UCode_Zelda_Obsolete.txt Hg: 2010-06-09 01:37:08 +00:00
UCode_Zelda_Synth.cpp build fixin', warning fixin'. 2010-06-09 21:19:23 +00:00
UCode_Zelda_Voice.cpp some more minor optimizations introduced by aavindraa, i only corrected evaluation order using some (). 2010-07-16 12:36:55 +00:00
UCodes.cpp DSPHLE - GC intro audio (IPL) now working - only for pal games atm 2010-02-18 20:07:20 +00:00
UCodes.h code cleanup, focusing on dsp hle 2010-02-28 18:21:22 +00:00