aboutsummaryrefslogtreecommitdiffstats
path: root/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'v0.16.x'Max Kellermann2012-04-052-1/+110
|\ | | | | | | | | | | Conflicts: src/output/osx_plugin.c src/text_input_stream.c
| * encoder/vorbis: generate end-of-stream packet when playback endsMax Kellermann2012-04-052-2/+2
| | | | | | | | | | Add the encoder_plugin method end(). This is important for the recorder plugin.
| * test/test_vorbis_encoder: program to debug the vorbis encoderMax Kellermann2012-04-041-0/+109
| |
| * event_pipe, test: explicitly ignore write() return valueMax Kellermann2012-03-196-7/+9
| | | | | | | | | | Some compilers are very picky, but we really aren't interested in the return value.
| * test/run_decoder: initialize GThreadMax Kellermann2012-02-131-0/+1
| |
| * test/read_tags: call g_thread_init()Max Kellermann2012-02-131-0/+1
| |
* | pcm_export: use the byte_reverse library directlyMax Kellermann2012-03-213-72/+0
| | | | | | | | | | Delete the now-unused pcm_byteswap library, and optimize the pcm_export_state object.
* | audio_format: remove the reverse_endian attributeMax Kellermann2012-03-211-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).
* | test: add unit test for util/byte_reverse.cMax Kellermann2012-03-212-0/+86
| |
* | test/run_convert: allow the out format to be a maskMax Kellermann2012-03-211-2/+6
| |
* | test/dump_text_file: debug program for text_input_stream.cMax Kellermann2012-03-191-0/+170
| |
* | test/run_input: use input_stream_*lock()Max Kellermann2012-03-191-4/+4
| |
* | event_pipe, test: explicitly ignore write() return valueMax Kellermann2012-03-197-8/+10
| | | | | | | | | | Some compilers are very picky, but we really aren't interested in the return value.
* | use g_strerror() instead of strerror()Max Kellermann2012-03-062-2/+2
| | | | | | | | Make sure we get a UTF-8 encoded string.
* | playlist/embcue: new plugin for reading embedded cue sheetsMax Kellermann2012-02-121-0/+93
| | | | | | | | | | Parses CUE data from the "CUESHEET" tag. Needs further integration in the update thread.
* | tag_handler: handle arbitrary name/value pairsMax Kellermann2012-02-121-1/+8
| | | | | | | | | | The new method pair() receives an arbitrary name/value pair. Support for this is being added to a few decoder plugins.
* | decoder_plugin: scan tags with callback tableMax Kellermann2012-02-111-30/+25
| | | | | | | | | | Pass a callback table to scan_file() and scan_stream(), instead of returning a tag object.
* | 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
| |
| * test/read_tags: initialize the tag_pool libraryMax Kellermann2012-02-041-0/+5
| |
* | test/run_output: enable and disable the outputMax Kellermann2011-12-241-0/+10
| |
* | pcm_buffer, output_plugin, ...: include config.hMax Kellermann2011-12-132-0/+2
| |
* | pcm_volume: "length" is a "size_t", not "int"Max Kellermann2011-10-203-3/+3
| |
* | test: add GLib testing compatibility headerMax Kellermann2011-10-196-0/+62
| | | | | | | | Didn't compile on GLib < 2.16.
* | pcm_dither: pass an "end" pointer instead of a sample countMax Kellermann2011-10-101-2/+2
| | | | | | | | | | This is easier and more efficient to loop on, because only two variables get modified (src and dest).
* | pcm_pack: pass an "end" pointer instead of a sample countMax Kellermann2011-10-101-2/+2
| |
* | pcm_{mix,volume}: pass only sample_format to pcm_mix()Max Kellermann2011-10-104-4/+4
| | | | | | | | The other audio_format attributes are not used.
* | test: add unit test for the PCM libraryMax Kellermann2011-10-106-0/+415
| |
* | don't define WINVER in *.c filesMax Kellermann2011-10-093-3/+0
| | | | | | | | | | In a C file, that is too late, because _mingw.h defaults to 0x0502, and ours would be illegal redefintion.
* | test/run_decoder: initialize GThreadMax Kellermann2011-10-031-0/+1
| | | | | | | | Needed for the I/O thread.
* | tcp_connect: generic library for establishing TCP connectionsMax Kellermann2011-09-201-0/+165
| |
* | resolver: add function resolve_host_port()Max Kellermann2011-09-201-0/+67
| |
* | output_plugin: the plugin allocates the audio_output objectMax Kellermann2011-09-191-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.
* | output/pulse: don't expose internal struct in public headerMax Kellermann2011-09-171-0/+10
| | | | | | | | | | Provide _lock() and _unlock() to wrap all accesses from the mixer plugin.
* | output/roar: export volume methodsMax Kellermann2011-09-171-0/+18
| | | | | | | | Use these instead of exposing the internal roar_t struct.
* | input_stream: non-blocking I/OMax Kellermann2011-09-164-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.
* | input_plugin: add method check()Max Kellermann2011-09-161-0/+6
| | | | | | | | | | To check for errors without reading. The decoder thread wants to do that, before it passes the input stream to the plugin.
* | test/test_queue_priority: work around "set but not used" warningMax Kellermann2011-09-161-0/+1
| |
* | test/read_tags: initialize the tag_pool libraryMax Kellermann2011-09-131-0/+5
| |
* | test/read_tags: call g_thread_init()Max Kellermann2011-09-131-0/+1
| | | | | | | | Needed for the I/O thread.
* | conf: move duplicate check to _read_name_value()Max Kellermann2011-09-091-1/+1
| | | | | | | | config_add_block_param() cannot fail, which makes it easier to use.
* | output_control: move code to audio_output_destruct()Max Kellermann2011-08-301-2/+1
| | | | | | | | .. and destruct the output object properly in test/run_output.
* | test/run_output: clean up after open failureMax Kellermann2011-08-301-50/+61
| |
* | ntp_server: move code to udp_server.cMax Kellermann2011-08-301-78/+5
| |
* | ntp_server: use the I/O threadMax Kellermann2011-08-292-12/+20
| |
* | test/run_ntp_server: quit on SIGINT or SIGTERMMax Kellermann2011-08-293-1/+103
| | | | | | | | Clean up the process before exiting.
* | ntp_server: add debug program "run_ntp_server"Max Kellermann2011-08-291-0/+137
| |
* | input/soup: new input plugin based on libsoupMax Kellermann2011-08-244-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.
* | output/raop: consistently use GErrorMax Kellermann2011-08-241-1/+2
| |
* | queue: implement song "priorities"Max Kellermann2011-07-191-0/+174
| | | | | | | | | | Sorts remaining songs by priority. This can be used for the much-demanded "queue feature".