PREGAP added extra silence at the beginning of first audio track if cue/iso/separate audio tracks (wav, mp3 etc) image.

This commit is contained in:
Toni Wilen 2019-06-18 20:34:38 +03:00
parent 0adee25d47
commit 8421740721

View File

@ -1805,6 +1805,9 @@ static int parsecue (struct cdunit *cdu, struct zfile *zcue, const TCHAR *img)
if (!secoffset) {
// secoffset == 0: same file contained also previous track
t->offset = fileoffset - pregap * t->size;
} else {
// pregap was already added, do not add extra silence.
t->pregap = 0;
}
t->address += postgap;
if (fnametypeid == AUDENC_PCM && t->handle) {