• Max Kellermann's avatar
    decoder/flac: calculate time stamp from current frame · e0d5ee00
    Max Kellermann authored
    Don't update a float timestamp, this will make imprecisions add up
    after a while.  We already have the number of the current frame, let's
    just calculate the float timestamp from that for every decoder_data()
    command.  For this, we need to add the attribute "first_frame", for
    CUE sheet songs.
    e0d5ee00
flac_plugin.c 20.6 KB