- 13 Nov, 2013 3 commits
-
-
Max Kellermann authored
Replaces Reset() and eliminates the AudioFormat parameters from the Convert() method.
-
Max Kellermann authored
Reduce header dependencies and allow it to be nullptr to disable it.
-
Max Kellermann authored
-
- 08 Nov, 2013 2 commits
-
-
Max Kellermann authored
Remove the "do_wait" parameter which is always true. Check only command==NONE and merge the "return" statements.
-
Max Kellermann authored
Nothing of interest happens here. No need to wake up the player.
-
- 06 Nov, 2013 3 commits
-
-
Max Kellermann authored
Wake up the PlayerThread only if it is really waiting for the decoder. This greatly reduces the number of system calls in the DecoderThread.
-
Max Kellermann authored
Must hold the Mutex to signal the Cond object safely.
-
Max Kellermann authored
Merge duplicate code.
-
- 28 Oct, 2013 1 commit
-
-
Max Kellermann authored
-
- 21 Oct, 2013 1 commit
-
-
Max Kellermann authored
-
- 19 Oct, 2013 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 27 Sep, 2013 1 commit
-
-
Max Kellermann authored
-
- 26 Sep, 2013 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 05 Sep, 2013 1 commit
-
-
Max Kellermann authored
-
- 30 Jul, 2013 1 commit
-
-
Max Kellermann authored
-
- 30 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 27 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 26 Jan, 2013 1 commit
-
-
Max Kellermann authored
Hide the definition from C code, to prepare the transition to C++.
-
- 21 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 07 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 04 Jan, 2013 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 14 Sep, 2011 1 commit
-
-
Max Kellermann authored
This is not necessary since all relevant input plugins have been moved to the I/O thread, and there is no remaining useful buffer() implementation. This also fixes a busy loop when playing radio.
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 10 Jan, 2011 2 commits
-
-
Max Kellermann authored
Remove the decoder dependency on player_control. All player_control was needed for is to signal the player thread, and we can do that with a simple GCond as well.
-
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.
-
- 17 Feb, 2010 1 commit
-
-
Max Kellermann authored
Apply the replay gain in the output thread. This means a new setting will be active instantly, without going through the whole music pipe. And we might have different replay gain settings for each audio output device.
-
- 01 Jan, 2010 1 commit
-
-
Avuton Olrich authored
-
- 15 Dec, 2009 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
This fixes a regression: a boolean value was returned from decoder_input_buffer(), but the caller chose to do a "<= 0" comparison.
-
- 12 Nov, 2009 1 commit
-
-
Max Kellermann authored
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.
-
- 31 Oct, 2009 2 commits
-
-
Max Kellermann authored
Allocate a decoder_control object where needed, and pass it around. This will allow more than one decoder thread one day.
-
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 Aug, 2009 1 commit
-
-
Max Kellermann authored
Replace decoder_control.notify with decoder_control.mutex and decoder_control.cond. Lock the mutex on all accesses to decoder_control.command and decoder_control.state.
-
- 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.
-
- 07 Mar, 2009 1 commit
-
-
Max Kellermann authored
When the decoder chunk is empty in decoder_flush_chunk(), don't push it into the music pipe - return it to the music buffer instead. An empty chunk in the pipe wastes resources for no advantage.
-