aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_resample_internal.h (unfollow)
Commit message (Collapse)AuthorFilesLines
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.