- 12 Jan, 2018 1 commit
-
-
Max Kellermann authored
This is another instance of the kludge we already have a few lines above that. It works around a deadlock/race condition revealed by commit 98a7c62d
-
- 07 Jan, 2018 1 commit
-
-
Max Kellermann authored
-
- 03 Jan, 2018 3 commits
-
-
Max Kellermann authored
The output plugin shall decide whether to insert silence or do nothing at all. The ALSA output plugin has already implemented this. Inserting silence is not necessary or helpful for some plugins, and may even hurt them (e.g. "recorder").
-
Max Kellermann authored
-
Max Kellermann authored
Eliminates unnecessary mutex locks.
-
- 30 Dec, 2017 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 29 Dec, 2017 2 commits
-
-
Max Kellermann authored
When the decoder is still starting up while we handle a SEEK, finish the "player SEEK" immediately and re-enter the player loop, being able to handle commands (and even cancel the pending seek). This is the first part in a series of patches to solve the "blocking input blocks decoder, blocks player, blocks the main thread" problem. There are many other blocking code locations left, and the main thread isn't non-blocking either because it waits for "seeking" to become false.
-
Max Kellermann authored
-
- 28 Dec, 2017 2 commits
-
-
Max Kellermann authored
The STOP, EXIT and CLOSE_AUDIO commands are not finished here; they are propagated to PlayerControl::RunThread() where the outputs.Cancel() call will be done again.
-
Max Kellermann authored
Allows signalling a failed seek, and replaces several redundant command checks after the ProcessCommand() call.
-
- 27 Dec, 2017 2 commits
-
-
Max Kellermann authored
Decouple this function from player command execution.
-
Max Kellermann authored
-
- 22 Dec, 2017 9 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Use one single std::lock_guard in Run(), and replace the manual Lock()/Unlock() calls.
-
Max Kellermann authored
Eliminate more unlock/lock transitions, making the code more robust.
-
Max Kellermann authored
-
Max Kellermann authored
Regression from commit 0772e571
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 21 Dec, 2017 13 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Reduces main thread contention. Avoids blocking the main thread in "status" commands.
-
Max Kellermann authored
-
- 20 Dec, 2017 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-