Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2013-12-24 | OutputControl: update both ReplayGainFilters | Max Kellermann | 1 | -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-28 | include cleanup using iwyu | Max Kellermann | 1 | -3/+0 | |
2013-11-25 | Volume, Output: use new class PeriodClock instead of GTimer | Max Kellermann | 1 | -15/+7 | |
2013-11-06 | OutputControl: reduce the number of OutputThread wakeups | Max Kellermann | 1 | -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-25 | ReplayGainInfo: use CamelCase for struct name | Max Kellermann | 1 | -1/+2 | |
2013-10-20 | OutputControl: convert anonymous enum to constexpr | Max Kellermann | 1 | -5/+3 | |
2013-10-19 | *: use nullptr instead of NULL | Max Kellermann | 1 | -20/+20 | |
2013-10-17 | Thread/Thread: replacement library for GThread | Max Kellermann | 1 | -6/+5 | |
2013-10-02 | Log: new logging library API | Max Kellermann | 1 | -2/+5 | |
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | |||||
2013-09-27 | DecoderControl: use GLib forward declarations | Max Kellermann | 1 | -0/+2 | |
2013-09-26 | MusicPipe: expose the C++ API | Max Kellermann | 1 | -8/+5 | |
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -6/+4 | |
Replaces GLib's GError. | |||||
2013-08-03 | audio_format: convert to C++ | Max Kellermann | 1 | -6/+5 | |
2013-04-17 | OutputInternal: use Mutex instead of GMutex | Max Kellermann | 1 | -27/+16 | |
2013-04-17 | output: convert to C++ | Max Kellermann | 1 | -6/+2 | |
2013-02-22 | mixer_plugin: convert to C++ | Max Kellermann | 1 | -2/+2 | |
2013-02-01 | filter: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-30 | {encoder,output}_api.h: allow compiling as C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-10 | notify: convert to C++ | Max Kellermann | 1 | -2/+2 | |
2013-01-07 | filter/replay_gain: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-05 | filter/ReplayGain: add method _set_mode() | Max Kellermann | 1 | -0/+9 | |
Push the new mode to the filter instead of accessing global variables through replay_gain_get_real_mode(). | |||||
2013-01-04 | output_*: convert to C++ | Max Kellermann | 1 | -4/+8 | |
2011-10-06 | output_control: remove unused prototype _close_locked() | Max Kellermann | 1 | -3/+0 | |
2011-09-19 | output_plugin: the plugin allocates the audio_output object | Max Kellermann | 1 | -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-01 | output_all: move _lock_signal() to output_control.c | Max Kellermann | 1 | -0/+12 | |
Better name, better documentation. | |||||
2011-09-01 | output_thread: reimplement CANCEL synchronization | Max Kellermann | 1 | -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-30 | output_control: move code to audio_output_destruct() | Max Kellermann | 1 | -17/+2 | |
.. and destruct the output object properly in test/run_output. | |||||
2011-03-16 | audio_format, output_thread: add more audio_format_valid() assertions | Max Kellermann | 1 | -0/+1 | |
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2011-01-10 | output_control: document internal functions | Max Kellermann | 1 | -0/+17 | |
2011-01-10 | output_control: move code to ao_lock_command() | Max Kellermann | 1 | -9/+15 | |
2011-01-10 | output_control: ao_command() calls ao_command_async() | Max Kellermann | 1 | -7/+6 | |
Merge some code. | |||||
2010-11-04 | output_control: lock object in audio_output_open() | Max Kellermann | 1 | -6/+19 | |
Protect the attributes "open" and "fail_timer". | |||||
2010-11-04 | output_control: lock object in audio_output_close() | Max Kellermann | 1 | -2/+28 | |
Protect the attributes "open" and "fail_timer". | |||||
2010-05-02 | output_thread: call replay gain filter manually | Max Kellermann | 1 | -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-02 | player_thread: move cross-fading to output thread | Max Kellermann | 1 | -0/+2 | |
Remove cross_fade_apply(), and call pcm_mix() in the output thread, mixing the chunk and chunk->other together. | |||||
2010-03-10 | output: added option "always_on" for radio stations | Max Kellermann | 1 | -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-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-11-12 | include config.h in all sources | Max Kellermann | 1 | -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-11-09 | output_thread: added command DRAIN | Max Kellermann | 1 | -0/+9 | |
This command manually drains the hardware buffer. This is useful when the player thread want to make sure that everything has been played. | |||||
2009-11-02 | output: signal the output thread when CANCEL is finished | Max Kellermann | 1 | -0/+4 | |
After CANCEL, the output thread waits for another signal before it continues playback, to synchronize with the caller. There were some situations where this signal wasn't sent properly. This patch adds an explicit g_cond_signal() at two code positions. | |||||
2009-11-02 | {decoder,player}_control: removed duplicate wakeups | Max Kellermann | 1 | -1/+1 | |
Don't wake up the target thread in every iteration of the wait() loop. Waking it up once, right after the command has been set, must be enough. | |||||
2009-10-29 | output_control: fixed deadlock in audio_output_update() | Max Kellermann | 1 | -1/+21 | |
Call a version of audio_output_close() which doesn't lock recursively. | |||||
2009-10-29 | output: consistently lock audio output objects | Max Kellermann | 1 | -12/+39 | |
Always keep the audio_output object locked within the output thread, unless a plugin method is called. This fixes several race conditions. | |||||
2009-10-23 | output_plugin: added methods enable() and disable() | Max Kellermann | 1 | -1/+36 | |
With these methods, an output plugin can allocate some global resources only if it is actually enabled. The method enable() is called after daemonization, which allows for more sophisticated resource allocation during that method. | |||||
2009-10-20 | mixer_plugin: use GError for error handling | Max Kellermann | 1 | -2/+9 | |
2009-08-14 | output: fixed shout stuck pause bug | Max Kellermann | 1 | -0/+11 | |
Explicitly make the output thread leave the ao_pause() loop. This patch is a workaround, and the "pause" flag is not managed in a thread-safe way, but that's good enough for now. | |||||
2009-07-06 | output: attach a filter chain to each audio_output | Max Kellermann | 1 | -0/+3 | |
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-07-06 | output: added command REOPEN | Max Kellermann | 1 | -14/+1 | |
REOPEN is called when the input audio format changes. The output thread may be reconfigure the PCM converter. |