Closed morio closed 2 weeks ago
getTrackFromLBA was parsing the whole cue file whenever it was called. This caches the current track and the ending LBA of the track. If it is called during audio playback and the LBA is still within the track, the cached track info is returned.
getTrackFromLBA
The cache is cleared when set_file is called.
Should fix issue: https://github.com/ZuluIDE/ZuluIDE-firmware/issues/123
getTrackFromLBA
was parsing the whole cue file whenever it was called. This caches the current track and the ending LBA of the track. If it is called during audio playback and the LBA is still within the track, the cached track info is returned.The cache is cleared when set_file is called.
Should fix issue: https://github.com/ZuluIDE/ZuluIDE-firmware/issues/123