(11-11-2013, 05:49 AM)nothingtosay Wrote: MediaFire is good, fast, and free. Don't know if there are any places that let you upload without an account anymore.I didn't see SoX when looking around, I did find a resampler and libresampler.
If the problem is introduced from a sub-optimal resampling algorithm, one of the best resamplers is open source: SoX. I don't know if incorporating it into Dolphin would be sensible, feasible, or efficient, but the idea is the only contribution this layperson can make. Maybe just a part of its code could be used or an idea gained by looking at it.
With a bit of messing around, I've managed to change the the conversion code to do a better resampling job.
SoX does look like it's got a better API (assuming the endianness of the DSP PCM data can be accounted for) Something to look at another day.
In the meantime, I've uploaded a build to:
https://drive.google.com/folderview?id=0Bw73DvmT5qKXSlBaSHo3SVJZSUE
You should be able to click the zip file, and then download it.
The diffs are a mess at the moment, however, I'm more interested in if it actually solves the problem, if it does I'll look at how to tidy up the code, and also at SoX.
As it might be better to use a library that provides all the necessary goodness, and copes with the various hardware configs out there.
Certainly in my testing this build pretty much drops anything over 16khz (it does have a slope though, so there is some up to about 17khz)
