aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_output.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* conf: handle fatal errors with GErrorMax Kellermann2009-09-241-1/+6
| | | | | | | Don't call g_error(), which will abort the process and dump core. This patch does not affect all the config_get_X() functions. These need some more refactoring.
* pcm_convert: use GError for error handlingMax Kellermann2009-07-231-1/+4
| | | | | Don't abort the whole MPD process when the conversion fails. This has been a denial-of-service attack vector for years.
* Add audio_format_init() functionDavid Woodhouse2009-07-191-5/+3
| | | | | It makes no difference right now, but we're about to add an endianness flag and will want to make sure it's correctly initialised every time.
* output: attach a filter chain to each audio_outputMax Kellermann2009-07-061-0/+23
| | | | | | | | This patch adds initial filter support for audio outputs. Each audio output gets a "filter" attribute, which is used by ao_play_chunk(). The PCM conversion is now performed by convert_filter_plugin. audio_output.convert_state has been removed.
* 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: added program "run_output"Max Kellermann2009-03-101-0/+174
The "run_output" program can be used to test an audio output plugin in an isolated environment.