aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/OutputControl.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-01Copyright year 2015Max Kellermann1-1/+1
2014-12-24output/Internal: move enum AudioOutputCommand into the structMax Kellermann1-13/+13
2014-12-24output/Internal: convert audio_output_command to strictly-typed enumMax Kellermann1-12/+14
2014-01-29output: rename "chunk" to "current_chunk"Max Kellermann1-2/+2
2014-01-29output: move functions into the AudioOutput structMax Kellermann1-160/+130
2014-01-29AudioOutput: make "plugin" a referenceMax Kellermann1-3/+3
2014-01-28output: rename source filesMax Kellermann1-2/+2
2014-01-28output: rename struct audio_output to AudioOutputMax Kellermann1-24/+24
2014-01-24Mixer*: move to mixer/Max Kellermann1-1/+1
2014-01-24Filter*: move to filter/Max Kellermann1-1/+1
2014-01-23output/*: move to output/plugins/Max Kellermann1-0/+0
2014-01-13copyright year 2014Max Kellermann1-1/+1
2013-12-24OutputControl: update both ReplayGainFiltersMax Kellermann1-0/+2
The "mode" of the second ReplayGainFilter was never set, and thus replay gain was never applied to the new song during cross-fade.
2013-11-28include cleanup using iwyuMax Kellermann1-3/+0
2013-11-25Volume, Output: use new class PeriodClock instead of GTimerMax Kellermann1-15/+7
2013-11-06OutputControl: reduce the number of OutputThread wakeupsMax Kellermann1-1/+4
Wake up the OutputThread only if it hasn't already been woken up and if it isn't already in the playback loop.
2013-10-25ReplayGainInfo: use CamelCase for struct nameMax Kellermann1-1/+2
2013-10-20OutputControl: convert anonymous enum to constexprMax Kellermann1-5/+3
2013-10-19*: use nullptr instead of NULLMax Kellermann1-20/+20
2013-10-17Thread/Thread: replacement library for GThreadMax Kellermann1-6/+5
2013-10-02Log: new logging library APIMax Kellermann1-2/+5
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-27DecoderControl: use GLib forward declarationsMax Kellermann1-0/+2
2013-09-26MusicPipe: expose the C++ APIMax Kellermann1-8/+5
2013-09-04util/Error: new error passing libraryMax Kellermann1-6/+4
Replaces GLib's GError.
2013-08-03audio_format: convert to C++Max Kellermann1-6/+5
2013-04-17OutputInternal: use Mutex instead of GMutexMax Kellermann1-27/+16
2013-04-17output: convert to C++Max Kellermann1-6/+2
2013-02-22mixer_plugin: convert to C++Max Kellermann1-2/+2
2013-02-01filter: convert to C++Max Kellermann1-1/+1
2013-01-30{encoder,output}_api.h: allow compiling as C++Max Kellermann1-1/+1
2013-01-10notify: convert to C++Max Kellermann1-2/+2
2013-01-07filter/replay_gain: convert to C++Max Kellermann1-1/+1
2013-01-05filter/ReplayGain: add method _set_mode()Max Kellermann1-0/+9
Push the new mode to the filter instead of accessing global variables through replay_gain_get_real_mode().
2013-01-04output_*: convert to C++Max Kellermann1-4/+8
2011-10-06output_control: remove unused prototype _close_locked()Max Kellermann1-3/+0
2011-09-19output_plugin: the plugin allocates the audio_output objectMax Kellermann1-1/+1
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_all: move _lock_signal() to output_control.cMax Kellermann1-0/+12
Better name, better documentation.
2011-09-01output_thread: reimplement CANCEL synchronizationMax Kellermann1-5/+13
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-08-30output_control: move code to audio_output_destruct()Max Kellermann1-17/+2
.. and destruct the output object properly in test/run_output.
2011-03-16audio_format, output_thread: add more audio_format_valid() assertionsMax Kellermann1-0/+1
2011-01-29copyright year 2011Max Kellermann1-1/+1
2011-01-10output_control: document internal functionsMax Kellermann1-0/+17
2011-01-10output_control: move code to ao_lock_command()Max Kellermann1-9/+15
2011-01-10output_control: ao_command() calls ao_command_async()Max Kellermann1-7/+6
Merge some code.
2010-11-04output_control: lock object in audio_output_open()Max Kellermann1-6/+19
Protect the attributes "open" and "fail_timer".
2010-11-04output_control: lock object in audio_output_close()Max Kellermann1-2/+28
Protect the attributes "open" and "fail_timer".
2010-05-02output_thread: call replay gain filter manuallyMax Kellermann1-0/+6
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-1/+14
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.
2009-12-31Update copyright notices.Avuton Olrich1-1/+1