aboutsummaryrefslogtreecommitdiffstats
path: root/test (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-09-20tcp_connect: generic library for establishing TCP connectionsMax Kellermann1-0/+165
2011-09-20resolver: add function resolve_host_port()Max Kellermann1-0/+67
2011-09-19output_plugin: the plugin allocates the audio_output objectMax Kellermann1-14/+14
Pass audio_output objects around instead of void pointers. This will give some more control to the plugin, and prepares for non-blocking audio outputs.
2011-09-17output/pulse: don't expose internal struct in public headerMax Kellermann1-0/+10
Provide _lock() and _unlock() to wrap all accesses from the mixer plugin.
2011-09-17output/roar: export volume methodsMax Kellermann1-0/+18
Use these instead of exposing the internal roar_t struct.
2011-09-16input_stream: non-blocking I/OMax Kellermann4-31/+45
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-09-16input_plugin: add method check()Max Kellermann1-0/+6
To check for errors without reading. The decoder thread wants to do that, before it passes the input stream to the plugin.
2011-09-16test/test_queue_priority: work around "set but not used" warningMax Kellermann1-0/+1
2011-09-13test/read_tags: initialize the tag_pool libraryMax Kellermann1-0/+5
2011-09-13test/read_tags: call g_thread_init()Max Kellermann1-0/+1
Needed for the I/O thread.
2011-09-09conf: move duplicate check to _read_name_value()Max Kellermann1-1/+1
config_add_block_param() cannot fail, which makes it easier to use.
2011-08-30output_control: move code to audio_output_destruct()Max Kellermann1-2/+1
.. and destruct the output object properly in test/run_output.
2011-08-30test/run_output: clean up after open failureMax Kellermann1-50/+61
2011-08-30ntp_server: move code to udp_server.cMax Kellermann1-78/+5
2011-08-29ntp_server: use the I/O threadMax Kellermann2-12/+20
2011-08-29test/run_ntp_server: quit on SIGINT or SIGTERMMax Kellermann3-1/+103
Clean up the process before exiting.
2011-08-29ntp_server: add debug program "run_ntp_server"Max Kellermann1-0/+137
2011-08-24input/soup: new input plugin based on libsoupMax Kellermann4-0/+42
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-08-24output/raop: consistently use GErrorMax Kellermann1-1/+2
2011-07-19queue: implement song "priorities"Max Kellermann1-0/+174
Sorts remaining songs by priority. This can be used for the much-demanded "queue feature".
2011-07-03test/run_filter: remove unused variable "frame_size"Max Kellermann1-3/+0
2011-07-03test/read_conf: make variables more localMax Kellermann1-9/+7
2011-07-03test/read_conf: fix -Wunused-but-set-variableMax Kellermann1-1/+1
2011-01-29test/read_mixer: add workaround for missing RAOP symbolsMax Kellermann1-0/+18
2011-01-29copyright year 2011Max Kellermann14-14/+14
2011-01-10player_control: removed the global variable "pc"Max Kellermann1-1/+4
Allocate a player_control object where needed, and pass it around. Each "client" object is associated with a "player_control" instance. This prepares multi-player support.
2010-07-20test/run_decoder: dump replay gainMax Kellermann1-1/+12
2010-06-25test/dump_playlist: print open-ended rangeMax Kellermann1-1/+5
2010-05-30test: added debug program "run_inotify"Max Kellermann1-0/+93
2010-05-20test: enable binary mode on stdin/stdoutMax Kellermann9-0/+37
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 Phipps2-2/+6
2010-04-25replay_gain: added mode "auto"Daniel Seuthe2-0/+6
2010-03-21Add support for MixRamp tagsTim Phipps2-0/+16
Adds mixrampdb and mixrampdelay commands. Reads MIXRAP_START and MIXRAMP_END tags from FLAC files and overlaps instead of crossfading.
2010-02-17replay_gain: optionally use hardware mixer to apply replay gainMax Kellermann1-0/+8
Add an option for each audio output which enables the use of the hardware mixer, instead of the software volume code. This is hardware specific, and assumes linear volume control. This is not the case for hardware mixers which were tested, making this patch somewhat useless, but we will use it to experiment with the settings, to find a good solution.
2010-02-17replay_gain: reimplement as a filter pluginMax Kellermann2-0/+12
Apply the replay gain in the output thread. This means a new setting will be active instantly, without going through the whole music pipe. And we might have different replay gain settings for each audio output device.
2010-01-18decoder_api: removed function decoder_get_uri()Max Kellermann2-10/+0
Use input_stream.uri.
2010-01-16test/run_convert: implement a GLib log callbackMax Kellermann1-0/+12
Log to stderr instead of the default stdout. We need a pristine stdout for the conversion result.
2010-01-16test/run_convert: use fifo_buffer to adapt to odd sample sizesMax Kellermann1-3/+26
Ensure that the pcm_convert() length argument is aligned to the sample size.
2010-01-04decoder_api: added function decoder_replay_gain()Max Kellermann2-4/+14
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 Kellermann4-27/+23
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 Olrich12-12/+12
2009-12-31decoder_plugin: added method stream_tag()Max Kellermann1-0/+14
This is like tag_dup(), but works with an input_stream object instead of a file path.
2009-12-31Makefile.am: added unit tests for the archive pluginsMax Kellermann3-0/+30
2009-12-27song: added support for selecting a time rangeMax Kellermann1-0/+8
Added attributes start_ms, end_ms. This allows us to address a portion of a song file (important for CUE support). There is no support yet for storing these attributes in the state file.
2009-12-26decoder_api: added function decoder_timestamp()Max Kellermann2-2/+14
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-25output_init: use the normalize filter pluginMax Kellermann1-14/+6
Use the plugin instead of the glue code in normalize.c. This is used wrapped inside a "autoconv" filter, to enable normalization for all input file formats.
2009-12-15input_stream: return errors with GErrorMax Kellermann4-14/+43
2009-12-15test/run_input: deinitialize everything after open() errorMax Kellermann1-40/+50
This enables valgrind debugging after an error occurred.
2009-12-15test/run_input: initialize archive pluginsMax Kellermann1-0/+15
Enable archive plugin debugging.
2009-12-14input_plugin: method init() returns errors with GErrorMax Kellermann4-4/+27
Not used by any plugin currently, but this eliminates the g_error() call in input_plugin_config(), so it's worth it.