- 29 Aug, 2014 7 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 28 Aug, 2014 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 27 Aug, 2014 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 16 Aug, 2014 1 commit
-
-
Max Kellermann authored
-
- 12 Aug, 2014 1 commit
-
-
Max Kellermann authored
-
- 21 Feb, 2014 1 commit
-
-
Max Kellermann authored
-
- 28 Jan, 2014 1 commit
-
-
Max Kellermann authored
Another big chunk of code for multi-player support.
-
- 23 Jan, 2014 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
For debugging.
-
- 13 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 09 Jan, 2014 1 commit
-
-
Max Kellermann authored
From now on, struct Song will be used by the database only, and DetachedSong will be used by everybody else. DetachedSong is easier to use, but Song has lower overhead.
-
- 07 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 24 Dec, 2013 1 commit
-
-
Max Kellermann authored
-
- 28 Nov, 2013 1 commit
-
-
Max Kellermann authored
-
- 08 Nov, 2013 1 commit
-
-
Max Kellermann authored
Commit 77c63511 caused MPD to become stuck right after a song change. The problem was that at some point, the MusicBuffer became full, and the DecoderThread working on the next song waits for the PlayerThread. However, the PlayerThread was stuck in a loop of g_usleep() calls, and never bothered to tell the DecoderThread that the MusicBuffer is not full anymore. This bug is very old, but its chance to occur went from nearly 0% to nearly 100%. The fix is to wake up the DecoderThread before waiting for it. As a side effect, I replaced the g_usleep() call with a Cond::Wait() call.
-
- 06 Nov, 2013 2 commits
-
-
Max Kellermann authored
After the number of decoded chunks has fallen below the threshold, the PlayerThread woke up the DecoderThread over and over. This commit adds a boolean flag that avoids these duplicate wakeups, and thus reduces the number of system calls.
-
Max Kellermann authored
For some reason, this got lost in commit 975deca8. Re-enabling this fixes stuttering at the beginning of radio streams.
-
- 04 Nov, 2013 1 commit
-
-
Max Kellermann authored
Map LogLevel::INFO to G_LOG_LEVEL_INFO, and LogLevel::DEFAULT to G_LOG_LEVEL_MESSAGE. Now client connect/disconnect message are only logged on log_level "secure".
-
- 30 Oct, 2013 2 commits
-
-
Max Kellermann authored
Avoid NaN to allow -ffast-math.
-
Max Kellermann authored
Avoid NaN to allow -ffast-math.
-
- 28 Oct, 2013 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Share the Mutex between the DecoderThread and the PlayerThread. This simplifies synchronization between the two threads and fixes a freeze problem: while the PlayerThread waits for the DeocderThread, it cannot answer requests from the main thread, and the main thread will block until the DecoderThread finishes.
-
Max Kellermann authored
-
Max Kellermann authored
-
- 26 Oct, 2013 1 commit
-
-
Max Kellermann authored
-
- 21 Oct, 2013 2 commits
-
-
Max Kellermann authored
Finally restores an important feature that has been broken for several months when the PlayerThread started working with Song copies instead of pointers to the Queue's Song instances (commit e96779de).
-
Max Kellermann authored
-
- 19 Oct, 2013 2 commits
-
-
Max Kellermann authored
-
Ben Boeckel authored
Fixes a regression from 752dfb3d which caused the current chunk to be flushed as soon as new replaygain information was found. If this occurs on a tag chunk, it has no data (length 0) and is then skipped before pushing it to all of the outputs. This change allows 0-length chunks through if they contain a tag and they are now appearing in mplayer and mpv properly.
-
- 17 Oct, 2013 1 commit
-
-
Max Kellermann authored
-