aboutsummaryrefslogtreecommitdiff
path: root/src/PlayerThread.cxx
Commit message (Collapse)AuthorAge
* Merge branch 'v0.17.x'Max Kellermann2013-02-19
|
* PlayerControl: add second Cond objectMax Kellermann2013-01-25
| | | | | | | | | | | | | This fixes a deadlock bug introduced by 18076ac9. After all, the second Cond was necessary. The problem: two threads can wait for a signal at the same time. The player thread waits for the output thread to finish playback. The main thread waits for the player thread to complete a command. The output thread finishes playback, and sends a signal, which unfortunately does not wake up the player thread, but the main thread. The main thread sees that the command is still not finished, and waits again. The signal is lost forever, and MPD is deadlocked.
* DecoderControl: move functions into the classMax Kellermann2013-01-21
|
* PlayerControl: move functions into the classMax Kellermann2013-01-20
|
* PlayerControl: switch to the Mutex/Cond classesMax Kellermann2013-01-10
|
* PlayerThread: use pc.cond instead of main_condMax Kellermann2013-01-10
| | | | | The main_cond variable was completely unnecessary. The pc.cond object can be used for both main->pc and pc->main.
* DecoderControl: take ownership of client_condMax Kellermann2013-01-10
| | | | | Don't let the "client" pass its own GCond. This was not used consistently.
* EventPipe: rename to GlobalEventsMax Kellermann2013-01-09
|
* event_pipe.h: convert to C++Max Kellermann2013-01-09
|
* idle: convert to C++Max Kellermann2013-01-09
|
* replay_gain_info, ...: use cmath instead of math.h in C++ modeMax Kellermann2013-01-07
| | | | Fixes build problems with mingw32.
* decoder_api.h, ...: add "extern C"Max Kellermann2013-01-07
|
* mixer_all: convert to C++Max Kellermann2013-01-07
|
* player_control.h: convert header to C++Max Kellermann2013-01-04
|
* MusicChunk: move functions to methodsMax Kellermann2013-01-04
|
* crossfade: convert to C++Max Kellermann2013-01-04
|
* buffer, pipe: convert to C++Max Kellermann2013-01-04
|
* decoder_*: convert to C++Max Kellermann2013-01-04
|
* {decoder,player}_thread: convert to C++Max Kellermann2013-01-02