- 04 Jan, 2013 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 25 Sep, 2012 1 commit
-
-
Max Kellermann authored
These are confusing, and since MixRamp development has ceased, not useful to anybody.
-
- 15 Aug, 2012 3 commits
-
-
Max Kellermann authored
Make sure the decoder "owns" the song object, so nobody else can free it.
-
Max Kellermann authored
decoder_is_current_song() now recognizes different instances of the same physical song.
-
Max Kellermann authored
Replaces _current_song().
-
- 08 Aug, 2012 1 commit
-
-
Max Kellermann authored
-
- 05 Oct, 2011 1 commit
-
-
Max Kellermann authored
Don't read song.start_ms and song.end_ms, let the player thread manage this logic instead.
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 10 Jan, 2011 4 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
Only dc_command_wait_locked() is really being used.
-
Max Kellermann authored
dc_new() allocates the object and returns it. dc_free() frees it (replaces dc_deinit()).
-
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.
-
- 05 Nov, 2010 1 commit
-
-
Max Kellermann authored
More abstraction for decoder_control.pipe.
-
- 23 Sep, 2010 1 commit
-
-
Max Kellermann authored
Be consistent with the rest of MPD, and don't use the non-portable header "malloc.h".
-
- 08 May, 2010 1 commit
-
-
Tim Phipps authored
-
- 21 Mar, 2010 1 commit
-
-
Tim Phipps authored
Adds mixrampdb and mixrampdelay commands. Reads MIXRAP_START and MIXRAMP_END tags from FLAC files and overlaps instead of crossfading.
-
- 01 Jan, 2010 1 commit
-
-
Avuton Olrich authored
-
- 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.
-
- 03 Nov, 2009 3 commits
-
-
Max Kellermann authored
Don't access decoder_control attributes directly.
-
Max Kellermann authored
These two variables are redundant, we need only one of them.
-
Max Kellermann authored
The START command returns without blocking; we don't need the asynchronous decoder start anymore.
-
- 02 Nov, 2009 1 commit
-
-
Max Kellermann authored
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.
-
- 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.
-
- 25 Apr, 2009 2 commits
-
-
Max Kellermann authored
When the decoder thread has a pending command, send the STOP command to cancel this command. Send STOP again if the decoder thread is still running after that, just in case the decoder thread has executed the previous command (which was overwritten).
-
Max Kellermann authored
dc.pipe must be non-NULL while the decoder thread is running. Ensure that with a load of assertions.
-
- 25 Mar, 2009 1 commit
-
-
Max Kellermann authored
When the decoder initialization has not been completed yet, all calls to dc_seek() will fail, because dc.seekable is not initialized yet. Wait for the decoder to complete its initialization, i.e. until it has called decoder_initialized().
-
- 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.
-
- 25 Jan, 2009 1 commit
-
-
Max Kellermann authored
decoder_control.thread contains the handle of the decoder thread, or NULL if the decoder thread isn't running.
-
- 28 Dec, 2008 1 commit
-
-
Max Kellermann authored
When MPD exits, it should manually free all resources in use, to allow easy memory leak debugging. Make the decoder thread terminate during that.
-
- 08 Nov, 2008 1 commit
-
-
Max Kellermann authored
The player did not care about the exact error value, it only checked whether an error has occured. This could fit well into decoder_control.state - introduce a new state "DECODE_STATE_ERROR".
-
- 03 Nov, 2008 1 commit
-
-
Max Kellermann authored
Renamed variables and functions.
-
- 30 Oct, 2008 1 commit
-
-
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 3 commits
-
-
Max Kellermann authored
When there are standardized headers, use these instead of the bloated os_compat.h.
-
Max Kellermann authored
Typedefs shouldn't be used, use the bare struct names instead.
-
Max Kellermann authored
Again, a data type which can be forward-declared.
-
- 24 Sep, 2008 1 commit
-
-
Max Kellermann authored
Destroy the mutex when it is not used anymore.
-
- 26 Aug, 2008 1 commit
-
-
Max Kellermann authored
-