- 02 Oct, 2013 1 commit
-
-
Max Kellermann authored
-
- 26 Sep, 2013 1 commit
-
-
Max Kellermann authored
-
- 03 Aug, 2013 1 commit
-
-
Max Kellermann authored
-
- 30 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 05 Jan, 2013 1 commit
-
-
Max Kellermann authored
Push the new mode to the filter instead of accessing global variables through replay_gain_get_real_mode().
-
- 04 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 19 Sep, 2011 1 commit
-
-
Max Kellermann authored
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.
-
- 01 Sep, 2011 2 commits
-
-
Max Kellermann authored
Better name, better documentation.
-
Max Kellermann authored
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.
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 10 Jan, 2011 1 commit
-
-
Max Kellermann authored
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.
-
- 10 Mar, 2010 1 commit
-
-
Max Kellermann authored
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.
-
- 01 Jan, 2010 1 commit
-
-
Avuton Olrich authored
-
- 09 Nov, 2009 1 commit
-
-
Max Kellermann authored
This command manually drains the hardware buffer. This is useful when the player thread want to make sure that everything has been played.
-
- 23 Oct, 2009 1 commit
-
-
Max Kellermann authored
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.
-
- 20 Oct, 2009 1 commit
-
-
Max Kellermann authored
It's a double pointer.
-
- 13 Mar, 2009 1 commit
-
-
Avuton Olrich authored
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.
-
- 10 Mar, 2009 1 commit
-
-
Max Kellermann authored
This function was part of a workaround which we don't need anymore.
-
- 09 Mar, 2009 2 commits
-
-
Max Kellermann authored
Instead of passing individual buffers to audio_output_all_play(), pass music_chunk objects. Append all those chunks asynchronously to a music_pipe instance. All output threads may then read chunks from this pipe. This reduces MPD's internal latency by an order of magnitude.
-
Max Kellermann authored
audio_output_open() is only called by audio_output_update(). Don't export it.
-
- 07 Mar, 2009 1 commit
-
-
Max Kellermann authored
audio_output_all_update() returns true when there is at least open output device which is open.
-
- 01 Mar, 2009 1 commit
-
-
Max Kellermann authored
Do error handling with GError instead of aborting with g_error().
-
- 25 Feb, 2009 1 commit
-
-
Max Kellermann authored
Return true/false instead of 1/0.
-
- 23 Feb, 2009 1 commit
-
-
Max Kellermann authored
The meaning of the chunk depends on the audio format; don't suggest a specific format by declaring the pointer as "char*", pass "void*" instead.
-
- 15 Feb, 2009 1 commit
-
-
Max Kellermann authored
Renamed variables.
-
- 25 Jan, 2009 1 commit
-
-
Max Kellermann authored
All config_get_block_*() functions should accept constant config_param pointers.
-
- 18 Jan, 2009 1 commit
-
-
Max Kellermann authored
Minimize header dependencies.
-
- 17 Jan, 2009 1 commit
-
-
Max Kellermann authored
Renamed functions, types, variables.
-
- 31 Oct, 2008 1 commit
-
-
Max Kellermann authored
"LOG_H" is a macro which is also used by ffmpeg/log.h. This is ffmpeg's fault, because short macros should be reserved for applications, but since it's always a good idea to choose prefixed macro names, even for applications, we are going to do that in MPD.
-
- 29 Oct, 2008 2 commits
-
-
Max Kellermann authored
Moved code from syncAudioDeviceStates() to audio_output_update().
-
Max Kellermann authored
Don't return 0/-1 on success/error, but true/false. Instead of int, use bool for storing flags.
-
- 08 Oct, 2008 1 commit
-
-
Max Kellermann authored
When there are standardized headers, use these instead of the bloated os_compat.h.
-
- 29 Sep, 2008 1 commit
-
-
Max Kellermann authored
pause() puts the audio output into pause mode: if supported, it may perform a special action, which keeps the device open, but does not play anything. Output plugins like "shout" might want to play silence during pause, so their clients won't be disconnected. Plugins which do not support pausing will simply be closed, and have to be reopened when unpaused. This pach includes an implementation for the shout plugin, which sends silence chunks.
-
- 26 Sep, 2008 1 commit
-
-
Max Kellermann authored
During debugging, I found a deadlock between flushAudioBuffer() and the audio_output_task(): audio_output_task() didn't notice that there is a command, and flushAudioBuffer() waited forever in notify_wait(). I am not sure yet what is the real cause; work around this for now by waking up non-finished audio outputs in every iteration.
-
- 24 Sep, 2008 1 commit
-
-
Max Kellermann authored
Send an output buffer to all output plugins at the same time, instead of waiting for each of them separately. Make several functions non-blocking, and introduce the new function audio_output_wait_all() to synchronize with all audio output threads.
-
- 09 Sep, 2008 3 commits
-
-
Max Kellermann authored
Getting rid of CamcelCase, again.
-
Max Kellermann authored
Similar to decoder_control.c, output_control.c will provide functions for controlling the output thread (which will be implemented later).
-
Max Kellermann authored
This function is declared, but is neither used nor implemented.
-
- 08 Sep, 2008 1 commit
-
-
Max Kellermann authored
Instead of having to register each output plugin, store them statically in an array. This eliminates the need for the List library here, and saves some small allocations during startup.
-
- 07 Sep, 2008 1 commit
-
-
Max Kellermann authored
Also rename AudioOutputPlugin to struct audio_output_plugin, and use forward declarations to reduce include dependencies.
-