- 09 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 22 Aug, 2012 1 commit
-
-
Max Kellermann authored
-
- 20 Sep, 2011 3 commits
-
-
Max Kellermann authored
Wrap close(), use closesocket() on WIN32/WinSock.
-
Max Kellermann authored
Don't provide the prototype if inotify_init() was not detected.
-
Max Kellermann authored
-
- 01 Jul, 2011 1 commit
-
-
Max Kellermann authored
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 03 Aug, 2010 3 commits
-
-
Max Kellermann authored
Unfortunately, there's no "optimized" implementation here. We can't use Linux's proprietary system call dup3(), because it would require us to specify the new descriptor.
-
Max Kellermann authored
-
Max Kellermann authored
-
- 01 Jan, 2010 1 commit
-
-
Avuton Olrich authored
-
- 10 Nov, 2009 2 commits
-
-
Max Kellermann authored
Add a "mode" argument to open_cloexec() instead.
-
Max Kellermann authored
Same as pipe_cloexec_nonblock(), but doesn't set non-blocking mode.
-
- 08 Nov, 2009 5 commits
-
-
Max Kellermann authored
We'll copy this code to libmpdclient, and that's easier if its license is BSD.
-
Max Kellermann authored
Changed the wrappers for pipe(), socket(), accept(). On WIN32, this does not work for pipe().
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This function is used only internally.
-
- 07 Nov, 2009 2 commits
-
-
Max Kellermann authored
Added wrapper for inotify_init1() to fd_util.c.
-
Max Kellermann authored
Added the "fd_util" library, which attempts to use the new thread-safe Linux system calls pipe2(), accept4() and the options O_CLOEXEC, SOCK_CLOEXEC. Without these, it falls back to FD_CLOEXEC, which is not thread safe. This is particularly important for the "pipe" output plugin (and others, such as JACK/PulseAudio), because we were heavily leaking file descriptors to child processes.
-
- 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.
-
- 02 Mar, 2009 1 commit
-
-
Max Kellermann authored
Added a small RIFF parser library. Look for an "id3" chunk, and let libid3tag parse it.
-
- 04 Feb, 2009 1 commit
-
-
Max Kellermann authored
Moved everything related to saving or loading the playlist from/to the state file to playlist_state.c.
-
- 07 Jan, 2009 2 commits
-
-
Max Kellermann authored
In generic PCM functions allowing all sample formats, pass a void pointer instead of a char pointer.
-
Max Kellermann authored
Moved the software mixing code (used by crossfading) to a separate library.
-
- 03 Jan, 2009 1 commit
-
-
Max Kellermann authored
Don't use libc's rand() function, because it is slow. Our own trivial linear congruential generator is good enough for dithering.
-
- 30 Dec, 2008 2 commits
-
-
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 2 commits
-
-
Max Kellermann authored
Getting rid of CamelCase; not having typedefs also allows us to forward-declare the structures.
-
Max Kellermann authored
And again, convert arguments to const.
-