aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_format.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* copyright year 2011Max Kellermann2011-01-291-1/+1
|
* Update copyright notices.Avuton Olrich2009-12-311-1/+1
|
* audio_format: changed "bits" to "enum sample_format"Max Kellermann2009-12-021-3/+5
| | | | | | This patch prepares support for floating point samples (and probably other formats). It changes the meaning of the "bits" attribute from a bit count to a symbolic value.
* all: Update copyright header.Avuton Olrich2009-03-131-3/+4
| | | | | | | | 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_format: added pcm_convert_to_32()Max Kellermann2009-03-021-0/+15
| | | | 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-4/+3
| | | | | | 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: added API documentationMax Kellermann2009-02-211-0/+23
|
* pcm_format: use the pcm_buffer libraryMax Kellermann2009-01-071-2/+4
| | | | 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-2/+2
| | | | The function does not need the full pcm_convert_state struct.
* pcm_utils: moved code to pcm_format.cMax Kellermann2009-01-071-0/+36
Moved all code which converts the sample format to a separate library.