aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_decoder.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tag_pool: use GStaticMutexMax Kellermann2012-08-081-5/+0
| | | | Eliminates explicit global initialisation.
* event_pipe, test: explicitly ignore write() return valueMax Kellermann2012-03-191-1/+1
| | | | | Some compilers are very picky, but we really aren't interested in the return value.
* Merge branch 'v0.16.x'Max Kellermann2012-02-041-0/+5
|\ | | | | | | | | | | | | Conflicts: src/decoder/ffmpeg_decoder_plugin.c test/read_tags.c test/run_decoder.c
| * test/run_decoder: initialize the tag_pool libraryMax Kellermann2012-02-041-0/+5
| |
* | pcm_volume: "length" is a "size_t", not "int"Max Kellermann2011-10-201-1/+1
| |
* | pcm_{mix,volume}: pass only sample_format to pcm_mix()Max Kellermann2011-10-101-1/+1
| | | | | | | | The other audio_format attributes are not used.
* | test/run_decoder: initialize GThreadMax Kellermann2011-10-031-0/+1
| | | | | | | | Needed for the I/O thread.
* | input_stream: non-blocking I/OMax Kellermann2011-09-161-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.
* | input/soup: new input plugin based on libsoupMax Kellermann2011-08-241-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.
* | copyright year 2011Max Kellermann2011-01-291-1/+1
|/
* test/run_decoder: dump replay gainMax Kellermann2010-07-201-1/+12
|
* test: enable binary mode on stdin/stdoutMax Kellermann2010-05-201-0/+1
| | | | | Declaring the global variable _CRT_fmode is a documented hack. What an ugly platform!
* mixramp: Adjust MixRamp threshold to account for ReplayGain.Tim Phipps2010-05-081-1/+3
|
* Add support for MixRamp tagsTim Phipps2010-03-211-0/+8
| | | | | Adds mixrampdb and mixrampdelay commands. Reads MIXRAP_START and MIXRAMP_END tags from FLAC files and overlaps instead of crossfading.
* 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.