aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio_parser.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v0.16.x'Max Kellermann2012-06-121-0/+11
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/cmdline.c src/decoder/wildmidi_decoder_plugin.c src/gcc.h src/glib_compat.h src/input_stream.c src/output_list.c src/output_thread.c valgrind.suppressions
| * audio-parser, output_thread: work around -Wmaybe-uninitializedMax Kellermann2012-06-121-0/+11
| | | | | | | | False positives in gcc 4.7.
* | audio_format: remove SAMPLE_FORMAT_DSD_OVER_USBMax Kellermann2012-03-271-6/+0
| | | | | | | | | | | | | | DSD-over-USB should not be a MPD core format, because it is not a "natural" format; it is just a temnporary over-the-wire format. This format has been implemented in pcm_export, and does not need to be supported by pcm_convert.
* | audio_format: remove the packed S24 formatMax Kellermann2012-03-221-4/+4
| | | | | | | | | | | | For simplicity, the MPD core should not have to deal with packing. It is rarely used, and those plugins that need it should use the pcm_export library instead.
* | audio_format: remove the format SAMPLE_FORMAT_DSD_LSBFIRSTMax Kellermann2012-03-211-8/+2
| | | | | | | | | | This format is unused since the DSDIFF decoder plugin now reverses the bit order.
* | audio_format: basic support for DSD-over-USBMax Kellermann2012-03-191-0/+6
| |
* | audio_format: add DSD sample formatMax Kellermann2012-03-011-0/+12
| | | | | | | | | | Basic support for Direct Stream Digital. No conversion yet, and no decoder/output plugin support.
* | audio_format: basic support for floating point samplesMax Kellermann2011-10-201-0/+6
| | | | | | | | | | Support for conversion from float to 16, 24 and 32 bit integer samples.
* | Merge branch 'v0.16.x'Max Kellermann2011-04-121-1/+2
|\| | | | | | | | | | | Conflicts: NEWS configure.ac
| * audio_parser: fix assertion failure in audio format mask parserMax Kellermann2011-03-231-1/+2
| | | | | | | | Use audio_format_mask_valid() to verify a mask.
* | Merge commit 'release-0.16.2'Max Kellermann2011-03-191-0/+1
|\| | | | | | | | | | | | | Conflicts: Makefile.am NEWS configure.ac
| * audio_format, output_thread: add more audio_format_valid() assertionsMax Kellermann2011-03-161-0/+1
| |
* | copyright year 2011Max Kellermann2011-01-291-1/+1
|/
* audio_format: support packed 24 bit samplesMax Kellermann2010-01-161-1/+6
|
* Update copyright notices.Avuton Olrich2009-12-311-1/+1
|
* audio_format: changed "bits" to "enum sample_format"Max Kellermann2009-12-021-7/+35
| | | | | | 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.
* audio_check: checker functions for audio_format attributesMax Kellermann2009-11-141-12/+4
| | | | | These functions are a wrapper for audio_valid_X(). On error, they return a GError object.
* include config.h in all sourcesMax Kellermann2009-11-121-0/+1
| | | | | | After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
* audio_format: wildcards allowed in audio_format configurationMax Kellermann2009-10-211-7/+25
| | | | | | An asterisk means that this attribute should not be enforced, and stays whatever it used to be. This way, some configuration values work like masks.
* audio_parser: moved code to separate functionsMax Kellermann2009-10-211-29/+78
|
* audio_parser: renamed parameter "error" to "error_r"Max Kellermann2009-10-211-8/+9
| | | | It's a double pointer.
* Add audio_format_init() functionDavid Woodhouse2009-07-191-3/+7
| | | | | It makes no difference right now, but we're about to add an endianness flag and will want to make sure it's correctly initialised every time.
* 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.
* audio_format: added validation functionsMax Kellermann2009-02-111-3/+3
| | | | | | In addition to audio_format_valid(), provide functions which validate only one attribute of an audio_format. These functions are reused by audio_format_parse().
* audio: replaced parseAudioConfig() with audio_format_parse()Max Kellermann2009-02-111-0/+98
Added audio_format_parse() in a separate library, with a modern interface: return a GError instead of logging errors. This allows the caller to deal with the error.