summaryrefslogtreecommitdiff
path: root/apps/recorder
diff options
context:
space:
mode:
authorNick Peskett <rockbox@peskett.co.uk>2022-04-07 09:08:50 +0000
committerWilliam Wilgus <me.theuser@yahoo.com>2022-04-07 20:10:19 -0400
commitdb55d30372a6f2f257f1c65948451db0854c34d4 (patch)
tree44cedafe57deb3fa1f8cf053351702c7a38eada9 /apps/recorder
parentd1be73cfc0a9029d5e4be9f780e7d3fb2a812d07 (diff)
downloadrockbox-db55d30372a6f2f257f1c65948451db0854c34d4.tar.gz
rockbox-db55d30372a6f2f257f1c65948451db0854c34d4.zip
Allow cuesheet index offsets longer than 99 minutes.
While the track number is limited to 99, I know of no documented constraint on the value of offset minutes to 99. As we are storing the millisecond offset as unsigned long, assuming 32 bit, we can allow 70,000 minutes (2^32 / 60000). However, I've been unable to generate a test audio file 48 days long under 2GB, so I've set the limit to 30,000 minutes. In addition, this change reduces the maximum number of seconds to 59, and frames to 74. I've generated some silent test files with the filenames being cue_[minutes].mp3 http://peskett.co.uk/rockbox/test_cues/ Change-Id: I3ca4468ebc88ba134c4e785e9395f90bf76941ac
Diffstat (limited to 'apps/recorder')
0 files changed, 0 insertions, 0 deletions