aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_thread.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-11 20:18:39 +0100
committerMax Kellermann <max@duempel.org>2009-11-11 20:18:39 +0100
commite0d5ee00451630c83ba1693939aa6c923f41b727 (patch)
tree9f9b6ebe6f492d54ee352384b12c62988b56e8d0 /src/decoder_thread.h
parentd35efddd65934e5adebe0c01ab7953c9a34082ed (diff)
downloadmpd-e0d5ee00451630c83ba1693939aa6c923f41b727.tar.gz
mpd-e0d5ee00451630c83ba1693939aa6c923f41b727.tar.xz
mpd-e0d5ee00451630c83ba1693939aa6c923f41b727.zip
decoder/flac: calculate time stamp from current frame
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.
Diffstat (limited to 'src/decoder_thread.h')
0 files changed, 0 insertions, 0 deletions