aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/sndfile_decoder_plugin.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* input_stream: forward-declare the structMax Kellermann2013-01-261-3/+3
| | | | Hide the definition from C code, to prepare the transition to C++.
* decoder_plugin: scan tags with callback tableMax Kellermann2012-02-111-12/+16
| | | | | Pass a callback table to scan_file() and scan_stream(), instead of returning a tag object.
* input_stream: non-blocking I/OMax Kellermann2011-09-161-2/+2
| | | | | | | | | Add GMutex, GCond attributes which will be used by callers to conditionally wait on the stream. Remove the (now-useless) plugin method buffer(), wait on GCond instead. Lock the input_stream before each method call. Do the same with the playlist plugins.
* copyright year 2011Max Kellermann2011-01-291-1/+1
|
* decoder_api: added function decoder_replay_gain()Max Kellermann2010-01-041-1/+1
| | | | | | This function replaces the replay_gain_info parameter for decoder_data(). This allows the decoder to announce replay gain changes, instead of having to pass the same object over and over.
* Update copyright notices.Avuton Olrich2009-12-311-1/+1
|
* decoder_api: added function decoder_timestamp()Max Kellermann2009-12-261-2/+1
| | | | | | Remove the data_time parameter from decoder_data(). This patch eliminates the timestamp counting in most decoder plugins, because the MPD core will do it automatically by default.
* input_stream: return errors with GErrorMax Kellermann2009-12-151-3/+7
|
* audio_format: changed "bits" to "enum sample_format"Max Kellermann2009-12-021-1/+2
| | | | | | 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.
* decoder: use audio_format_init_checked()Max Kellermann2009-11-141-4/+6
| | | | | | Let the audio_check library verify the audio format in all (relevant, i.e. non-hardcoded) plugins.
* 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.
* tag: removed the "_ITEM_" suffix from the enum namesMax Kellermann2009-10-131-3/+3
|
* Add audio_format_init() functionDavid Woodhouse2009-07-191-3/+1
| | | | | 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.
* decoder/sndfile: new decoder plugin based on libsndfileMax Kellermann2009-07-071-0/+246