aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_output.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-09-05conf.h: remove obsolete headerMax Kellermann1-1/+3
Use only ConfigData.hxx in plugin sources to reduce header dependencies.
2013-09-04util/Error: new error passing libraryMax Kellermann1-42/+18
Replaces GLib's GError.
2013-09-03IOThread: use FatalError() on g_thread_create() errorMax Kellermann1-5/+1
New GLib versions don't fail.
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann1-1/+1
2013-08-04OutputPlugin: pass config_param referenceMax Kellermann1-3/+2
2013-08-03audio_format: convert to C++Max Kellermann1-8/+7
2013-04-17don't use g_thread_init() with GLib 2.32Max Kellermann1-0/+2
Deprecated.
2013-04-17output: convert to C++Max Kellermann1-6/+2
2013-04-09pcm_*: move to src/pcm/Max Kellermann1-1/+1
2013-02-01filter: convert to C++Max Kellermann1-1/+1
2013-01-31pcm_convert: convert to C++Max Kellermann1-14/+8
2013-01-30audio_{parser,config}: convert to C++Max Kellermann1-1/+1
2013-01-30ConfigFile: add enum ConfigOptionMax Kellermann1-2/+2
Look up top-level config options by enum (= integer), not by name string.
2013-01-29ConfigFile, CommandLine: use the Path classMax Kellermann1-2/+4
2013-01-15mixer/Alsa: use MultiSocketMonitorMax Kellermann1-0/+8
2013-01-10io_thread: convert to C++Max Kellermann1-1/+1
2013-01-09EventPipe: rename to GlobalEventsMax Kellermann1-2/+2
2013-01-09event_pipe.h: convert to C++Max Kellermann1-1/+1
2013-01-09idle: convert to C++Max Kellermann1-1/+1
2013-01-09test/FakeReplayGainConfig: move fake symbols from a few debug programsMax Kellermann1-5/+0
2013-01-07decoder_api.h, ...: add "extern C"Max Kellermann1-1/+1
2013-01-05filter/ReplayGain: add method _set_mode()Max Kellermann1-3/+0
Push the new mode to the filter instead of accessing global variables through replay_gain_get_real_mode().
2013-01-04PlayerControl: add constructor and destructorMax Kellermann1-1/+5
2013-01-04player_control.h: convert header to C++Max Kellermann1-1/+1
2013-01-04playlist: convert to C++Max Kellermann1-1/+1
2013-01-04output_*: convert to C++Max Kellermann1-4/+8
2011-12-24test/run_output: enable and disable the outputMax Kellermann1-0/+10
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-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-29ntp_server: use the I/O threadMax Kellermann1-0/+11
2011-01-29copyright year 2011Max Kellermann1-1/+1
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-05-20test: enable binary mode on stdin/stdoutMax Kellermann1-0/+1
Declaring the global variable _CRT_fmode is a documented hack. What an ugly platform!
2010-04-25replay_gain: added mode "auto"Daniel Seuthe1-0/+3
2010-02-17replay_gain: reimplement as a filter pluginMax Kellermann1-0/+6
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.
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-12-02audio_format: changed "bits" to "enum sample_format"Max Kellermann1-1/+1
This patch prepares support for floating point samples (and probably other formats). It changes the meaning of the "bits" attribute from a bit count to a symbolic value.
2009-11-14audio_format: added function audio_format_to_string()Max Kellermann1-2/+3
Unified function for converting an audio_format object to a string, for log messages and for the "status" command.
2009-11-12include config.h in all sourcesMax Kellermann1-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.
2009-10-29output: consistently lock audio output objectsMax Kellermann1-4/+0
Always keep the audio_output object locked within the output thread, unless a plugin method is called. This fixes several race conditions.
2009-10-21audio_format: wildcards allowed in audio_format configurationMax Kellermann1-1/+2
An asterisk means that this attribute should not be enforced, and stays whatever it used to be. This way, some configuration values work like masks.
2009-10-21pulse: code rewrite using the asynchronous libpulse APIMax Kellermann1-0/+6
This is a complete rewrite of the PulseAudio output plugin. It uses the asynchronous API, which gives us more control over everything. Additionally, it connects to the PulseAudio server on startup, and keeps this connection up while MPD runs. During pause, instead of closing the stream, it enables "cork".
2009-09-24conf: handle fatal errors with GErrorMax Kellermann1-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.
2009-07-23pcm_convert: use GError for error handlingMax Kellermann1-1/+4
Don't abort the whole MPD process when the conversion fails. This has been a denial-of-service attack vector for years.
2009-07-19Add audio_format_init() functionDavid Woodhouse1-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.
2009-07-06output: attach a filter chain to each audio_outputMax Kellermann1-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.
2009-03-13all: Update copyright header.Avuton Olrich1-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.
2009-03-10test: added program "run_output"Max Kellermann1-0/+174
The "run_output" program can be used to test an audio output plugin in an isolated environment.