aboutsummaryrefslogtreecommitdiffstats
path: root/src/AudioParser.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-10-15gcc.h: rename to Compiler.hMax Kellermann1-1/+1
2013-09-04util/Error: new error passing libraryMax Kellermann1-31/+21
Replaces GLib's GError.
2013-08-03audio_format: convert to C++Max Kellermann1-17/+18
2013-07-29audio_check: convert to C++Max Kellermann1-1/+1
2013-01-30audio_{parser,config}: convert to C++Max Kellermann1-1/+1
2012-06-12audio-parser, output_thread: work around -Wmaybe-uninitializedMax Kellermann1-0/+11
False positives in gcc 4.7.
2012-03-27audio_format: remove SAMPLE_FORMAT_DSD_OVER_USBMax Kellermann1-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.
2012-03-22audio_format: remove the packed S24 formatMax Kellermann1-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.
2012-03-21audio_format: remove the format SAMPLE_FORMAT_DSD_LSBFIRSTMax Kellermann1-8/+2
This format is unused since the DSDIFF decoder plugin now reverses the bit order.
2012-03-19audio_format: basic support for DSD-over-USBMax Kellermann1-0/+6
2012-03-01audio_format: add DSD sample formatMax Kellermann1-0/+12
Basic support for Direct Stream Digital. No conversion yet, and no decoder/output plugin support.
2011-10-20audio_format: basic support for floating point samplesMax Kellermann1-0/+6
Support for conversion from float to 16, 24 and 32 bit integer samples.
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
2011-01-29copyright year 2011Max Kellermann1-1/+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.