aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_resample_libsamplerate.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* pcm_resample: don't resample partial samplesMax Kellermann2008-10-231-0/+4
| | | | | Added assertions which ensure that there are no partial samples in the source buffer.
* pcm_resample: don't hard-code sample sizeMax Kellermann2008-10-231-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.
* pcm_utils: moved code to pcm_resample.cMax Kellermann2008-10-231-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.