aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_decoder.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* decoder_api: removed function decoder_get_uri()Max Kellermann2010-01-181-5/+0
| | | | Use input_stream.uri.
* decoder_api: added function decoder_replay_gain()Max Kellermann2010-01-041-2/+7
| | | | | | 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.
* input_stream: return allocated input_stream objectsMax Kellermann2010-01-011-7/+5
| | | | | | | | Major API redesign: don't let the caller allocate the input_stream object. Let each input plugin allocate its own (derived/extended) input_stream pointer. The "data" attribute can now be removed, and all input plugins simply cast the input_stream pointer to their own structure (with an "struct input_stream base" as the first attribute).
* Update copyright notices.Avuton Olrich2009-12-311-1/+1
|
* decoder_api: added function decoder_timestamp()Max Kellermann2009-12-261-1/+7
| | | | | | 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/+10
|
* input_plugin: method init() returns errors with GErrorMax Kellermann2009-12-141-1/+7
| | | | | Not used by any plugin currently, but this eliminates the g_error() call in input_plugin_config(), so it's worth it.
* input_stream: moved input_stream_global_init() to input_init.cMax Kellermann2009-12-141-0/+1
|
* test/run_{decoder,filter}: implemented GLib log callbackMax Kellermann2009-12-141-0/+12
| | | | Log to stderr, not to stdout (which broke PCM output).
* audio_format: added function audio_format_to_string()Max Kellermann2009-11-141-2/+4
| | | | | Unified function for converting an audio_format object to a string, for log messages and for the "status" command.
* 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.
* replay_gain: trigger OPTIONS idle event on mode changeMax Kellermann2009-11-011-0/+9
|
* 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.
* test/run_decoder: initialize decoder.initializedMax Kellermann2009-03-021-0/+2
| | | | Keep valgrind happy.
* test/run_decoder: initialize the input pluginsMax Kellermann2009-03-021-0/+2
|
* pcm_volume: return boolMax Kellermann2009-03-021-1/+2
| | | | Don't abort MPD when a sample format is not supported by pcm_volume().
* test: added decoder test programMax Kellermann2009-02-251-0/+162
Added a command line program which runs a decoder plugin.