- 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 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Now that "dc" is available here, we don't have to pass it to decoder_is_idle() and decoder_is_starting() anymore.
-
Max Kellermann authored
The source "decoder_control.c" provides an API for controlling the decoder. This replaces various direct accesses to the DecoderControl struct.
-