aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_convert.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* pcm_convert: return PCM buffer from pcm_convert()Max Kellermann2009-01-171-29/+27
| | | | | | Removed yet another superfluous buffer layer: return the PCM buffer from pcm_convert() instead of copying PCM data into the caller-supplied buffer.
* log, pcm_convert: added return statements after g_error()Max Kellermann2009-01-151-0/+1
| | | | | gcc doesn't know that g_error() never returns. Work around the gcc warning.
* pcm_convert: removed unused variable "dest_size"Max Kellermann2009-01-151-4/+2
| | | | | dest_size is only used in an assertion. Remove its declaration and move the formula into the assertion.
* pcm_resample: use pcm_buffer (1/2)Max Kellermann2009-01-081-16/+14
| | | | Return a temporary buffer from pcm_resample_*() and pcm_convert().
* pcm_channels: use pcm_bufferMax Kellermann2009-01-071-2/+6
| | | | Replace a "static" buffer with the PCM buffer library.
* pcm_format: use the pcm_buffer libraryMax Kellermann2009-01-071-3/+8
| | | | Replace a "static" buffer with the PCM buffer library.
* pcm: added pcm_convert_deinit(), pcm_resample_deinit()Max Kellermann2009-01-071-0/+5
| | | | | Free memory allocated by libsamplerate when the output or the decoder is closed.
* pcm: pass void pointers to PCM functionsMax Kellermann2009-01-071-5/+4
| | | | | In generic PCM functions allowing all sample formats, pass a void pointer instead of a char pointer.
* pcm_utils: moved conversion code to pcm_convert.cMax Kellermann2009-01-071-0/+157
All what's left in pcm_utils.h is the pcm_range() utility function, which is only used internally by pcm_volume and pcm_mix.