AndyLandy / MakeMP3

A tool for creating an MP3 library from a lossless music collection with cue sheets
GNU General Public License v3.0
2 stars 1 forks source link

parse_cuesheet: rewrite with local state and delayed flushing #18

Open luxagen opened 3 years ago

luxagen commented 3 years ago

By "local state", I mean local variables containing data structures for the "current" cuesheet, file, track, index, etc.. When a nested item finished, its local state is cleared out after being dumped into the local state for the enclosing DS. The end of the function then consists of returning the local "cuesheet" DS.