| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Resets the libsamplerate state. Not being used yet.
|
|
|
|
|
| |
A version of the resampler that doesn't need int->float->int
conversion.
|
|
|
|
| |
Reduces number of implicit integer conversions.
|
|
|
|
| |
Let the libsamplerate code initialize itself.
|
|
|
|
|
| |
Load the samplerate_converter on MPD startup. Fail if the converter
name is invalid.
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Don't abort the whole MPD process when the conversion fails. This has
been a denial-of-service attack vector for years.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
Added diversion functions to pcm_resample.c. These check which
resampler is enabled at compile time (libsamplerate or fallback).
This prepares the following patch.
|