- 12 Jul, 2014 9 commits
-
-
Max Kellermann authored
Previously, only streams were saved with range and tags, but this is necessary for all "partial" songs (e.g. CUE tracks).
-
Max Kellermann authored
Manipulates the playback range of a queued song.
-
Max Kellermann authored
Now that Song::GetDuration() is used (which considers start_ms and end_ms), we don't need to override the Tag's duration value.
-
Max Kellermann authored
Fixes the bogus duration of the last track in a CUE sheet.
-
Max Kellermann authored
Add one method that prints only the tag values, but not the song duration.
-
Max Kellermann authored
Enables using range-based "for".
-
Max Kellermann authored
-
Max Kellermann authored
Move code from the FAAD decoder plugin.
-
Max Kellermann authored
-
- 11 Jul, 2014 31 commits
-
-
Max Kellermann authored
This loop is completely unnecessary. We just need to find the first ADTS frame and feed it into NeAACDecInit().
-
Max Kellermann authored
Eliminate duplicate cleanup code.
-
Max Kellermann authored
-
Max Kellermann authored
-
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
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
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.
-