- 12 Jul, 2014 2 commits
-
-
Max Kellermann authored
Failure to read another chunk header is not fatal. Continue to read metadata.
-
Max Kellermann authored
-
- 11 Jul, 2014 22 commits
-
-
Max Kellermann authored
Previously, MPD tried to slurp the whole song file, count the number of frames and calculate the song duration from that. That however is extremely expensive for remote files, and will delay playback for a long time. Workaround: check only the first 128 frames and try to extrapolate from here. Fixes Mantis ticket 0004035.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Eliminate more duplicate code.
-
Max Kellermann authored
Don't bother to check for ADIF just because the stream is not seekable.
-
Max Kellermann authored
Merge some duplicate code.
-
Max Kellermann authored
Eliminate some overhead when the caller doesn't need the buffer.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Checking the integer is faster, easier and more reliable.
-
Max Kellermann authored
-
Max Kellermann authored
.. instead of declaring a new constant.
-
Max Kellermann authored
Replaces the loop in sndfile_vio_read(), eliminating duplicate and fragile code.
-
Max Kellermann authored
.. instead of InputStream::LockRead(). The former is cancellable.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Implement a "bulk" edit mode that postpones both UpdateQueuedSong() and OnModified(). This way, the playlist version gets incremented only once. More importantly: when adding multiple songs to a queue that consists of only one song, the first song that got added will always be played next. By postponing this choice, all newly added songs get a chance to become the next song. Fixes the second (and last) part of Mantis ticket 0004005.
-
Max Kellermann authored
-
Max Kellermann authored
Don't restore the current song after shufflung when MPD is stopped (but still remembers the current song internally). Fixes the first part of Mantis ticket 0004005.
-
Max Kellermann authored
-
- 09 Jul, 2014 10 commits
-
-
Joff authored
Addresses Mantis ticket 0004015. [mk: use decoder_read_full() only when needed, and a few formal changes]
-
Max Kellermann authored
Works around WAV stream playback bug, because libaudiofile does not like partial reads (Mantis 0004028).
-
Max Kellermann authored
Move code from the "mad" plugin.
-
Max Kellermann authored
Move code from the "mad" plugin.
-
Max Kellermann authored
-
Max Kellermann authored
.. instead of InputStream::LockRead(). The former is cancellable.
-
Gustavo Zacarias authored
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
-
Gustavo Zacarias authored
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
-
Gustavo Zacarias authored
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
-
Gustavo Zacarias authored
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
-
- 23 Jun, 2014 3 commits
-
-
Max Kellermann authored
Error message was 'too few arguments for "find"' because the "base" constraint was not supported, and no other constraints remained.
-
Max Kellermann authored
-
Max Kellermann authored
-
- 12 May, 2014 1 commit
-
-
Max Kellermann authored
-
- 29 Apr, 2014 1 commit
-
-
Max Kellermann authored
Fixes missing song length on high-latency Opus files. According to tests with 320 kbit/s opus files with 60ms packets, we need to skip up to 29 kB.
-
- 26 Apr, 2014 1 commit
-
-
Max Kellermann authored
Turns out the lock-free code using atomics was not thread-safe. The given callback could be invoked by GLib before the source_id attribute was assigned. This commit changes the DeferredMonitor class to use a Mutex to block the event loop until source_id is assigned. This bug does not exist in the 0.19 branch because it does not use the GLib main loop anymore.
-