mirror of
https://github.com/LIV2/WinUAE.git
synced 2025-12-06 00:12:52 +00:00
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:
parent
0adee25d47
commit
8421740721
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user