summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2024-07-24 20:50:39 +0200
committerChristian Soffke <christian.soffke@gmail.com>2024-07-26 21:16:13 +0200
commitb52e72db36469fab813f63d0e69ced2e9d241b61 (patch)
treeb9dd4626934f15e4aef03ff763c583fe9e2e0a3e /apps/plugin.h
parent23e5f77ab0c5f80de4091b365165276cfe9899dd (diff)
downloadrockbox-b52e72db36469fab813f63d0e69ced2e9d241b61.tar.gz
rockbox-b52e72db36469fab813f63d0e69ced2e9d241b61.zip
plugins: playing time: improve precision
Add up length and size of tracks in ms & Bytes, then only convert units to s & KiB at the end. Otherwise, the result can be noticeably off when dealing with a large enough number of tracks. Change-Id: I2a3e502508089830f63b24c3bbdbb0ab8f57cabe
Diffstat (limited to 'apps/plugin.h')
0 files changed, 0 insertions, 0 deletions