aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_decoder.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-10input_stream: convert to C++ (internally)Max Kellermann1-225/+0
2013-01-09test/run_decoder,read_tags: remove obsolete dummy functionsMax Kellermann1-21/+0
2013-01-05DecoderAPI: _replay_gain() returns voidMax Kellermann1-4/+1
Let the function decoder_replay_gain() update decoder_control::replay_gain_db instead of letting each decoder plugin take care for that.
2012-08-08tag_pool: use GStaticMutexMax Kellermann1-5/+0
Eliminates explicit global initialisation.
2012-03-19event_pipe, test: explicitly ignore write() return valueMax Kellermann1-1/+1
Some compilers are very picky, but we really aren't interested in the return value.
2012-03-19event_pipe, test: explicitly ignore write() return valueMax Kellermann1-1/+1
Some compilers are very picky, but we really aren't interested in the return value.
2012-02-13test/run_decoder: initialize GThreadMax Kellermann1-0/+1
2012-02-04test/run_decoder: initialize the tag_pool libraryMax Kellermann1-0/+5
2011-10-20pcm_volume: "length" is a "size_t", not "int"Max Kellermann1-1/+1
2011-10-10pcm_{mix,volume}: pass only sample_format to pcm_mix()Max Kellermann1-1/+1
The other audio_format attributes are not used.
2011-10-03test/run_decoder: initialize GThreadMax Kellermann1-0/+1
Needed for the I/O thread.
2011-09-16input_stream: non-blocking I/OMax Kellermann1-2/+8
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.
2011-08-24input/soup: new input plugin based on libsoupMax Kellermann1-0/+10
To demonstrate the new I/O thread. libsoup is well-integrated into the GLib main loop, which made this plugin pretty easy to write. As a side effect, we have to initialize the I/O thread in all debug programs that use the input API.
2011-01-29copyright year 2011Max Kellermann1-1/+1
2010-07-20test/run_decoder: dump replay gainMax Kellermann1-1/+12
2010-05-20test: enable binary mode on stdin/stdoutMax Kellermann1-0/+1
Declaring the global variable _CRT_fmode is a documented hack. What an ugly platform!
2010-05-08mixramp: Adjust MixRamp threshold to account for ReplayGain.Tim Phipps1-1/+3
2010-03-21Add support for MixRamp tagsTim Phipps1-0/+8
Adds mixrampdb and mixrampdelay commands. Reads MIXRAP_START and MIXRAMP_END tags from FLAC files and overlaps instead of crossfading.
2010-01-18decoder_api: removed function decoder_get_uri()Max Kellermann1-5/+0
Use input_stream.uri.
2010-01-04decoder_api: added function decoder_replay_gain()Max Kellermann1-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.
2010-01-01input_stream: return allocated input_stream objectsMax Kellermann1-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).
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-12-26decoder_api: added function decoder_timestamp()Max Kellermann1-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.
2009-12-15input_stream: return errors with GErrorMax Kellermann1-3/+10
2009-12-14input_plugin: method init() returns errors with GErrorMax Kellermann1-1/+7
Not used by any plugin currently, but this eliminates the g_error() call in input_plugin_config(), so it's worth it.
2009-12-14input_stream: moved input_stream_global_init() to input_init.cMax Kellermann1-0/+1
2009-12-14test/run_{decoder,filter}: implemented GLib log callbackMax Kellermann1-0/+12
Log to stderr, not to stdout (which broke PCM output).
2009-11-14audio_format: added function audio_format_to_string()Max Kellermann1-2/+4
Unified function for converting an audio_format object to a string, for log messages and for the "status" command.
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-11-01replay_gain: trigger OPTIONS idle event on mode changeMax Kellermann1-0/+9
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-03-02test/run_decoder: initialize decoder.initializedMax Kellermann1-0/+2
Keep valgrind happy.
2009-03-02test/run_decoder: initialize the input pluginsMax Kellermann1-0/+2
2009-03-02pcm_volume: return boolMax Kellermann1-1/+2
Don't abort MPD when a sample format is not supported by pcm_volume().
2009-02-25test: added decoder test programMax Kellermann1-0/+162
Added a command line program which runs a decoder plugin.