aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_format.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* pcm_format: added conversion from 32 bitMax Kellermann2009-03-021-0/+37
| | | | | Support converting 32 bit samples to any other supported sample format.
* pcm_format: added pcm_convert_to_32()Max Kellermann2009-03-021-0/+75
| | | | Added code to convert all other sample formats to 32 bit.
* pcm_dither: renamed struct pcm_dither_24 to struct pcm_ditherMax Kellermann2009-03-021-2/+2
| | | | | | There is nothing 24 bit specific in the pcm_dither_24 struct. Since we want to reuse the struct for 32 bit dithering, let's drop the "_24" suffix from the struct name.
* pcm_format: use the pcm_buffer libraryMax Kellermann2009-01-071-36/+23
| | | | Replace a "static" buffer with the PCM buffer library.
* pcm_format: pass struct pcm_dither_24 to pcm_convert_to_16()Max Kellermann2009-01-071-3/+3
| | | | The function does not need the full pcm_convert_state struct.
* pcm_utils: moved code to pcm_format.cMax Kellermann2009-01-071-0/+148
Moved all code which converts the sample format to a separate library.