aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_resample_libsamplerate.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-03-02pcm_resample: use 24 bit resampling code for 32 bit samplesMax Kellermann1-1/+1
Resampling 32 bit samples is the same as resampling 24 bit samples - both are stored in the int32_t type.
2009-01-17conf: replaced getConfigParamValue() with config_get_string()Max Kellermann1-1/+1
Don't return a writable pointer.
2009-01-08added missing explicit config.h includesMax Kellermann1-0/+1
2009-01-08pcm_resample: use pcm_buffer (2/2)Max Kellermann1-16/+6
Use the PCM buffer library for the libsamplerate output buffer.
2009-01-08pcm_resample: use pcm_buffer (1/2)Max Kellermann1-15/+22
Return a temporary buffer from pcm_resample_*() and pcm_convert().
2009-01-07pcm: added pcm_convert_deinit(), pcm_resample_deinit()Max Kellermann1-0/+7
Free memory allocated by libsamplerate when the output or the decoder is closed.
2009-01-03pcm: use GLib instead of utils.hMax Kellermann1-5/+4
2008-12-29pcm: use GLib loggingMax Kellermann1-12/+16
2008-10-24pcm_resample: support for libsamplerate < 0.1.3Max Kellermann1-0/+20
libsamplerate 0.1.2 didn't have the 32 bit <-> float conversion routines. Emulate them in case they aren't supported.
2008-10-23pcm_resample: implemented 24 bit resamplingMax Kellermann1-0/+53
Similar to pcm_resample_16(), implement pcm_resample_24(). The 24 bit implementation is very similar, but it uses src_int_to_float_array() instead of src_short_to_float_array() before sending data to libsamplerate.
2008-10-23pcm_resample: moved code to pcm_resample_set()Max Kellermann1-29/+40
A future patch will implement a 24 bit resampler. To unify code, move code which can be shared to a separate function.
2008-10-23pcm_resample: don't resample partial samplesMax Kellermann1-0/+4
Added assertions which ensure that there are no partial samples in the source buffer.
2008-10-23pcm_resample: don't hard-code sample sizeMax Kellermann1-3/+3
Use sizeof(sample) instead of hard-coding "2". Although we're in 16 bit right now, this will make code sharing easier when we support other sample sizes.
2008-10-23pcm_utils: moved code to pcm_resample.cMax Kellermann1-0/+140
Separate the resampling code from the rest of pcm_utils.c. Create two sub-libraries: pcm_resample_libsamplerate.c and pcm_resample_fallback.c.