aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_resample_internal.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-01pcm_convert: add method _reset()Max Kellermann1-0/+3
Resets the libsamplerate state. Not being used yet.
2011-10-20pcm_resample: add function pcm_resample_float()Max Kellermann1-0/+8
A version of the resampler that doesn't need int->float->int conversion.
2011-10-19pcm_{channels,resample}: pass channel count as integer, not uint8_tMax Kellermann1-4/+4
Reduces number of implicit integer conversions.
2011-10-08pcm_resample: add internal function _lsr_init()Max Kellermann1-0/+6
Let the libsamplerate code initialize itself.
2011-10-08pcm_resample: one-time global initializationMax Kellermann1-0/+3
Load the samplerate_converter on MPD startup. Fail if the converter name is invalid.
2011-01-29copyright year 2011Max Kellermann1-1/+1
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-11-12include config.h in all sourcesMax Kellermann1-1/+1
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
2009-07-23pcm_convert: use GError for error handlingMax Kellermann1-4/+4
Don't abort the whole MPD process when the conversion fails. This has been a denial-of-service attack vector for years.
2009-03-14pcm_resample: choose the fallback resampler at runtimeMax Kellermann1-3/+1
Even if libsamplerate support is enabled, compile the fallback resampler. When the user specifies the option "samplerate_converter=internal", it is chosen in favor of libsamplerate. This may help users with a weak FPU who don't want to compile a custom MPD from source, because the fallback resampler does not use floating point operations.
2009-03-14pcm_resample: renamed implementation functionsMax Kellermann1-0/+79
Added diversion functions to pcm_resample.c. These check which resampler is enabled at compile time (libsamplerate or fallback). This prepares the following patch.