aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_resample.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* pcm_resample: add internal function _lsr_init()Max Kellermann2011-10-081-8/+4
| | | | Let the libsamplerate code initialize itself.
* pcm_resample: one-time global initializationMax Kellermann2011-10-081-2/+23
| | | | | Load the samplerate_converter on MPD startup. Fail if the converter name is invalid.
* copyright year 2011Max Kellermann2011-01-291-1/+1
|
* Update copyright notices.Avuton Olrich2009-12-311-1/+1
|
* include config.h in all sourcesMax Kellermann2009-11-121-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.
* pcm_convert: use GError for error handlingMax Kellermann2009-07-231-6/+12
| | | | | Don't abort the whole MPD process when the conversion fails. This has been a denial-of-service attack vector for years.
* pcm_resample_fallback: removed G_GNUC_UNUSED attributeMax Kellermann2009-07-221-4/+2
|
* pcm_resample: fixed typo in libsamplerate runtime checkMax Kellermann2009-05-071-1/+1
| | | | The string comparison should be "!= 0", not "== 0". Ouch.
* pcm_resample: choose the fallback resampler at runtimeMax Kellermann2009-03-141-15/+33
| | | | | | | | | 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.
* pcm_resample: renamed implementation functionsMax Kellermann2009-03-141-1/+48
| | | | | | Added diversion functions to pcm_resample.c. These check which resampler is enabled at compile time (libsamplerate or fallback). This prepares the following patch.
* all: Update copyright header.Avuton Olrich2009-03-131-6/+7
| | | | | | | | This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
* pcm_resample: use pcm_buffer (2/2)Max Kellermann2009-01-081-0/+6
| | | | Use the PCM buffer library for the libsamplerate output buffer.
* pcm_resample: use pcm_buffer (1/2)Max Kellermann2009-01-081-0/+2
| | | | Return a temporary buffer from pcm_resample_*() and pcm_convert().
* pcm_utils: moved code to pcm_resample.cMax Kellermann2008-10-231-0/+26
Separate the resampling code from the rest of pcm_utils.c. Create two sub-libraries: pcm_resample_libsamplerate.c and pcm_resample_fallback.c.