• 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
..
plugins Loading commit data...
Bridge.cxx Loading commit data...
Bridge.hxx Loading commit data...
Client.hxx Loading commit data...
DecoderAPI.cxx Loading commit data...
DecoderAPI.hxx Loading commit data...
DecoderBuffer.cxx Loading commit data...
DecoderBuffer.hxx Loading commit data...
DecoderCommand.hxx Loading commit data...
DecoderControl.cxx Loading commit data...
DecoderControl.hxx Loading commit data...
DecoderError.cxx Loading commit data...
DecoderError.hxx Loading commit data...
DecoderList.cxx Loading commit data...
DecoderList.hxx Loading commit data...
DecoderPlugin.cxx Loading commit data...
DecoderPlugin.hxx Loading commit data...
DecoderPrint.cxx Loading commit data...
DecoderPrint.hxx Loading commit data...
DecoderThread.cxx Loading commit data...
DecoderThread.hxx Loading commit data...
Reader.cxx Loading commit data...
Reader.hxx Loading commit data...