aboutsummaryrefslogtreecommitdiffstats
path: root/test (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-08-08tag_pool: use GStaticMutexMax Kellermann5-17/+2
Eliminates explicit global initialisation.
2012-08-07db_selection: rename to DatabaseSelectionMax Kellermann1-3/+2
2012-08-07Database{Plugin,Visitor}: pass referencesMax Kellermann1-8/+8
2012-08-07test/DumpDatabase: new debug programMax Kellermann1-0/+154
2012-08-02DatabaseVisitor, ...: use GError forward declarationMax Kellermann1-0/+2
2012-07-10test/test_pcm: add pcm_volume testsMax Kellermann3-0/+211
2012-07-10require GLib 2.16Max Kellermann6-65/+0
GLib 2.16 was released more than 4 years ago. Let's remove some cruft from the glib_compat.h header, and avoid new cruft to it.
2012-05-29output/raop: delete the RAOP pluginMax Kellermann2-90/+0
This plugin is horrible code, I mean it. Last year, I tried hard to fix it, but I figured would take less time to do a full rewrite. Given that I don't even have any device that supports RAOP, I can't do that properly. After 16 months, nobody volunteered for fixing it. Hereby, I delete it, because having no RAOP plugin is better than having this mess. Sorry.
2012-04-23test/read_rva2: new debug program for the RVA2 libraryMax Kellermann1-0/+109
2012-04-05encoder/vorbis: generate end-of-stream packet when playback endsMax Kellermann2-2/+2
Add the encoder_plugin method end(). This is important for the recorder plugin.
2012-04-04test/test_vorbis_encoder: program to debug the vorbis encoderMax Kellermann1-0/+109
2012-03-21pcm_export: use the byte_reverse library directlyMax Kellermann3-72/+0
Delete the now-unused pcm_byteswap library, and optimize the pcm_export_state object.
2012-03-21audio_format: remove the reverse_endian attributeMax Kellermann1-2/+2
Eliminate support for reverse endian samples from the MPD core. This moves a lot of complexity to the plugins that really need it (only ALSA and CDIO currently).
2012-03-21test: add unit test for util/byte_reverse.cMax Kellermann2-0/+86
2012-03-21test/run_convert: allow the out format to be a maskMax Kellermann1-2/+6
2012-03-19event_pipe, test: explicitly ignore write() return valueMax Kellermann6-7/+9
Some compilers are very picky, but we really aren't interested in the return value.
2012-03-19test/dump_text_file: debug program for text_input_stream.cMax Kellermann1-0/+170
2012-03-19test/run_input: use input_stream_*lock()Max Kellermann1-4/+4
2012-03-19event_pipe, test: explicitly ignore write() return valueMax Kellermann7-8/+10
Some compilers are very picky, but we really aren't interested in the return value.
2012-03-06use g_strerror() instead of strerror()Max Kellermann2-2/+2
Make sure we get a UTF-8 encoded string.
2012-02-13test/run_decoder: initialize GThreadMax Kellermann1-0/+1
2012-02-13test/read_tags: call g_thread_init()Max Kellermann1-0/+1
2012-02-12playlist/embcue: new plugin for reading embedded cue sheetsMax Kellermann1-0/+93
Parses CUE data from the "CUESHEET" tag. Needs further integration in the update thread.
2012-02-12tag_handler: handle arbitrary name/value pairsMax Kellermann1-1/+8
The new method pair() receives an arbitrary name/value pair. Support for this is being added to a few decoder plugins.
2012-02-11decoder_plugin: scan tags with callback tableMax Kellermann1-30/+25
Pass a callback table to scan_file() and scan_stream(), instead of returning a tag object.
2012-02-04test/run_decoder: initialize the tag_pool libraryMax Kellermann1-0/+5
2012-02-04test/read_tags: initialize the tag_pool libraryMax Kellermann1-0/+5
2011-12-24test/run_output: enable and disable the outputMax Kellermann1-0/+10
2011-12-13pcm_buffer, output_plugin, ...: include config.hMax Kellermann2-0/+2
2011-10-20pcm_volume: "length" is a "size_t", not "int"Max Kellermann3-3/+3
2011-10-19test: add GLib testing compatibility headerMax Kellermann6-0/+62
Didn't compile on GLib < 2.16.
2011-10-10pcm_dither: pass an "end" pointer instead of a sample countMax Kellermann1-2/+2
This is easier and more efficient to loop on, because only two variables get modified (src and dest).
2011-10-10pcm_pack: pass an "end" pointer instead of a sample countMax Kellermann1-2/+2
2011-10-10pcm_{mix,volume}: pass only sample_format to pcm_mix()Max Kellermann4-4/+4
The other audio_format attributes are not used.
2011-10-10test: add unit test for the PCM libraryMax Kellermann6-0/+415
2011-10-09don't define WINVER in *.c filesMax Kellermann3-3/+0
In a C file, that is too late, because _mingw.h defaults to 0x0502, and ours would be illegal redefintion.
2011-10-03test/run_decoder: initialize GThreadMax Kellermann1-0/+1
Needed for the I/O thread.
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