• Max Kellermann's avatar
    decoder/Bridge: truncate last chunk at the exact end_time · 986ec877
    Max Kellermann authored
    Instead of passing whole chunks to the MusicPipe and checking the
    end_time after each chunk, truncate the last chunk if it would exceed
    the end_time.  This requires keeping track of the absolute PCM frame
    number.
    
    This fixes a problem with gapless CUE song transitions: a small part
    of the following song was always played twice.
    
    Closes #113
    986ec877
Name
Last commit
Last update
android Loading commit data...
doc Loading commit data...
m4 Loading commit data...
python/build Loading commit data...
scripts Loading commit data...
src Loading commit data...
systemd Loading commit data...
test Loading commit data...
win32 Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
mpd.svg Loading commit data...
valgrind.suppressions Loading commit data...