- 31 Oct, 2014 1 commit
-
- 10 Oct, 2014 1 commit
-
-
nanotech authored
-
- 01 Mar, 2014 2 commits
-
-
Max Kellermann authored
Add class Context which wraps the Android/Java Context class and add a JNI wrapper for method Context.getCacheDir().
-
Max Kellermann authored
-
- 05 Feb, 2014 1 commit
-
-
Max Kellermann authored
-
- 04 Feb, 2014 1 commit
-
-
Max Kellermann authored
Replaces global variable "main_loop".
-
- 13 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 30 Oct, 2013 1 commit
-
-
Max Kellermann authored
-
- 17 Oct, 2013 1 commit
-
-
Max Kellermann authored
-
- 27 Sep, 2013 1 commit
-
-
Max Kellermann authored
-
- 17 Apr, 2013 1 commit
-
-
Max Kellermann authored
More preparations for multi-player support.
-
- 16 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 14 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 10 Jan, 2013 1 commit
-
-
Max Kellermann authored
The main_cond variable was completely unnecessary. The pc.cond object can be used for both main->pc and pc->main.
-
- 09 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 05 Jan, 2013 1 commit
-
-
Max Kellermann authored
This is the beginning of multi-player support. There will be support for multiple Partition objects in one MPD process.
-
- 27 Sep, 2012 1 commit
-
-
Max Kellermann authored
-
- 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.
-
- 23 Sep, 2010 1 commit
-
-
Denis Krjuchkov authored
I've added PIPE_EVENT_SHUTDOWN because calling g_main_loop_quit() do not work when called from another thread. Main thread was sleeping in g_poll() so I needed some way to wake it up. By some strange reason call close(event_pipe[0]) in event_pipe_deinit() hangs. In current implementation that code never reached so that was not a problem :-) I've added a conditional to leave event_pipe[0] open on Win32.
-
- 01 Jan, 2010 1 commit
-
-
Avuton Olrich authored
-
- 31 Oct, 2009 1 commit
-
-
Max Kellermann authored
Use GMutex/GCond instead of the notify library. Manually lock the player_control object before accessing the protected attributes. Use the GCond object to notify the player thread and the main thread.
-
- 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.
-
- 03 Jan, 2009 1 commit
-
-
Max Kellermann authored
-
- 02 Jan, 2009 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
There is only one location using PIPE_EVENT_SIGNAL: to synchronize player_command() with player_command_finished(). Use the "notify" library instead of the event_pipe here.
-
- 30 Dec, 2008 3 commits
-
-
Max Kellermann authored
Other libraries may need to access the main_loop reference, to add or remove events, or to call g_main_loop_quit().
-
Max Kellermann authored
redirect_stdin() is a daemonization function, and disconnecting from the standard input is always a good idea for MPD.
-
Max Kellermann authored
-
- 27 Dec, 2008 2 commits
-
-
Max Kellermann authored
Prepare for the migration to the GLib option parser, which uses gboolean for flags.
-
Max Kellermann authored
-
- 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.
-
- 08 Oct, 2008 1 commit
-
-
Max Kellermann authored
When there are standardized headers, use these instead of the bloated os_compat.h.
-
- 09 Sep, 2008 2 commits
-
-
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 3 commits
-
-
Max Kellermann authored
Also rename AudioOutputPlugin to struct audio_output_plugin, and use forward declarations to reduce include dependencies.
-
Max Kellermann authored
Just like decoder_api.h, output_api.h provides the audio output API which is used by the plugins.
-
Max Kellermann authored
Get rid of CamelCase, and don't use a typedef, so we can forward-declare it, and unclutter the include dependencies.
-
- 29 Aug, 2008 1 commit
-
-
Max Kellermann authored
Getting rid of CamelCase; not having typedefs also allows us to forward-declare the structures.
-