aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio_parser.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-03-23audio_parser: fix assertion failure in audio format mask parserMax Kellermann1-1/+2
Use audio_format_mask_valid() to verify a mask.
2011-03-16audio_format, output_thread: add more audio_format_valid() assertionsMax Kellermann1-0/+1
2010-01-16audio_format: support packed 24 bit samplesMax Kellermann1-1/+6
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-12-02audio_format: changed "bits" to "enum sample_format"Max Kellermann1-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.
2009-11-14audio_check: checker functions for audio_format attributesMax Kellermann1-12/+4
These functions are a wrapper for audio_valid_X(). On error, they return a GError object.
2009-11-12include config.h in all sourcesMax Kellermann1-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.
2009-10-21audio_format: wildcards allowed in audio_format configurationMax Kellermann1-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.
2009-10-21audio_parser: moved code to separate functionsMax Kellermann1-29/+78
2009-10-21audio_parser: renamed parameter "error" to "error_r"Max Kellermann1-8/+9
It's a double pointer.
2009-07-19Add audio_format_init() functionDavid Woodhouse1-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.
2009-03-13all: Update copyright header.Avuton Olrich1-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.
2009-02-11audio_format: added validation functionsMax Kellermann1-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().
2009-02-11audio: replaced parseAudioConfig() with audio_format_parse()Max Kellermann1-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.