Design Decision Question Regarding Redbook Audio Implementation (A.K.A. Arrays Start at 2)
Moderator: ScummVM Team
- SirYodaJedi
- Posts: 9
- Joined: Wed Oct 02, 2019 6:47 pm
- Contact:
Design Decision Question Regarding Redbook Audio Implementation (A.K.A. Arrays Start at 2)
Since the first audio track on a mixed-media CD is track 02, why does it need to be renamed to "Track1.*" (and later tracks likewise) when ripping to use with ScummVM? Since a CD ripper that outputs unprocessed WAVs (other than adding the header, of course) will usually name them "Track 02.wav" and so forth, this seems like a pointless extra step from the end user to decrement each filenames by 1 and remove leading 0s and spaces (after converting to FLAC/OGG/MP3, but that's a welcome improvement). What is the technical reason behind this?
Re: Design Decision Question Regarding Redbook Audio Implementation (A.K.A. Arrays Start at 2)
This is based on looking at the commit history as I was not around at the time, but this dates back to the time between ScummVM v0.1.0 and v0.2.0 release around 2002 ... so it has been like that for more than 15 years.
The advice on Track1.mp3 etc. naming was added by this commit to the readme.txt:
https://github.com/scummvm/scummvm/comm ... ffcc259064
The advice on Track1.mp3 etc. naming was added by this commit to the readme.txt:
https://github.com/scummvm/scummvm/comm ... ffcc259064