aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio_parser.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* audio_parser: fix assertion failure in audio format mask parserMax Kellermann2011-03-231-1/+2
| | | | Use audio_format_mask_valid() to verify a mask.
* audio_format, output_thread: add more audio_format_valid() assertionsMax Kellermann2011-03-161-0/+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.