aboutsummaryrefslogtreecommitdiffstats
path: root/src/OutputInit.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-13copyright year 2014Max Kellermann1-1/+1
2013-11-28include cleanup using iwyuMax Kellermann1-1/+0
2013-11-25Volume, Output: use new class PeriodClock instead of GTimerMax Kellermann1-1/+0
2013-11-06OutputControl: reduce the number of OutputThread wakeupsMax Kellermann1-0/+2
Wake up the OutputThread only if it hasn't already been woken up and if it isn't already in the playback loop.
2013-11-04Log: add level "DEFAULT"Max Kellermann1-7/+7
Map LogLevel::INFO to G_LOG_LEVEL_INFO, and LogLevel::DEFAULT to G_LOG_LEVEL_MESSAGE. Now client connect/disconnect message are only logged on log_level "secure".
2013-10-28player_control: rename to PlayerControlMax Kellermann1-1/+1
2013-10-19*: use references instead of pointersMax Kellermann1-2/+2
2013-10-19*: use nullptr instead of NULLMax Kellermann1-35/+35
2013-10-17Thread/Thread: replacement library for GThreadMax Kellermann1-1/+0
2013-10-02Log: new logging library APIMax Kellermann1-16/+18
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-05conf.h: remove obsolete headerMax Kellermann1-0/+1
Use only ConfigData.hxx in plugin sources to reduce header dependencies.
2013-09-04util/Error: new error passing libraryMax Kellermann1-39/+35
Replaces GLib's GError.
2013-08-04MixerPlugin: pass config_param referenceMax Kellermann1-2/+4
2013-08-04FilterPlugin: pass config_param referenceMax Kellermann1-4/+6
2013-08-04OutputPlugin: pass config_param referenceMax Kellermann1-25/+21
2013-08-03audio_format: convert to C++Max Kellermann1-3/+3
2013-08-03gcc.h: add macro gcc_unreachable()Max Kellermann1-1/+1
2013-07-30tag: convert to C++Max Kellermann1-0/+1
2013-07-30output_api: convert to C++Max Kellermann1-1/+1
2013-07-30pcm_buffer: convert to C++Max Kellermann1-2/+0
2013-04-17OutputInternal: use Mutex instead of GMutexMax Kellermann1-2/+0
2013-04-17output: convert to C++Max Kellermann1-5/+1
2013-04-16MixerInternal: convert to classMax Kellermann1-2/+2
2013-02-22mixer_plugin: convert to C++Max Kellermann1-3/+3
2013-02-02FilterInternal: convert struct filter to a OO interfaceMax Kellermann1-7/+7
2013-02-01filter: convert to C++Max Kellermann1-3/+3
2013-01-31mixer/software, filter/volume: convert to C++Max Kellermann1-1/+1
2013-01-30filter/convert: convert to C++Max Kellermann1-1/+1
2013-01-30TagPool, ...: include cleanupMax Kellermann1-5/+6
2013-01-30audio_{parser,config}: convert to C++Max Kellermann1-1/+1
2013-01-30{encoder,output}_api.h: allow compiling as C++Max Kellermann1-1/+1
2013-01-30ConfigFile: add enum ConfigOptionMax Kellermann1-3/+3
Look up top-level config options by enum (= integer), not by name string.
2013-01-30filter_config: convert to C++Max Kellermann1-1/+1
2013-01-07filter/replay_gain: convert to C++Max Kellermann1-1/+2
2013-01-04output_*: convert to C++Max Kellermann1-6/+9
2012-09-25output: new option "tags" may be used to disable sending tagsMax Kellermann1-0/+1
Implements Mantis ticket 0003340.
2012-07-10output_init: put the "convert" filter at the end of the listMax Kellermann1-7/+7
No, really! This fixes a regression of commit 74617389, which changed the order of filter plugins.
2012-06-12output_list: declare variables inside _plugins_for_each()Max Kellermann1-4/+1
Don't require the caller to provide them.
2011-12-13output_init: initialize replay gain filters to NULL in ao_base_init()Denis Krjuchkov1-0/+2
If output plugin fails to init it will try to call ao_base_finish() immediately, which segfaults because replay gain filters are not initialized yet and contain garbage values.
2011-09-19output_plugin: the plugin allocates the audio_output objectMax Kellermann1-67/+101
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-01output_thread: reimplement CANCEL synchronizationMax Kellermann1-0/+1
The output thread could hang indefinitely after finishing CANCEL, because it could have missed the signal while the output was not unlocked in ao_command_finished(). This patch removes the wait() call after CANCEL, and adds the flag "allow_play" instead. While this flag is set, playback is skipped. With this flag, there will not be any excess wait() call after the pipe has been cleared. This patch fixes a bug that causes mpd to discontinue playback after seeking, due to the race condition described above.
2011-01-29copyright year 2011Max Kellermann1-1/+1
2011-01-10player_control: removed the global variable "pc"Max Kellermann1-0/+5
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-02output_thread: call replay gain filter manuallyMax Kellermann1-2/+9
Don't add it to the filter chain, because we need to apply replay gain before cross-fading with the next song. Add a second replay_gain filter which is used for the song being faded in (chunk->other).
2010-05-02player_thread: move cross-fading to output threadMax Kellermann1-0/+2
Remove cross_fade_apply(), and call pcm_mix() in the output thread, mixing the chunk and chunk->other together.
2010-03-10output: added option "always_on" for radio stationsMax Kellermann1-0/+1
Did you ever accidently click "stop" while feeding a radio station? This option sets the output device to "pause" to disable the "close" method. It falls back to "pause" then, which is specific to the plugin. Some plugins implement it by feeding silence.
2010-02-17replay_gain: optionally use hardware mixer to apply replay gainMax Kellermann1-5/+28
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 Kellermann1-0/+11
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-25output_init: use the normalize filter pluginMax Kellermann1-0/+11
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.