mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-25 12:25:42 -04:00
Merge pull request #712 from RibShark/master
Only force 2 second pregap for track 1
This commit is contained in:
commit
d73692caf7
@ -132,7 +132,7 @@ bool CDImageCueSheet::OpenAndParse(const char* filename)
|
|||||||
// two seconds pregap for track 1 is assumed if not specified
|
// two seconds pregap for track 1 is assumed if not specified
|
||||||
long pregap_frames = track_get_zero_pre(track);
|
long pregap_frames = track_get_zero_pre(track);
|
||||||
bool pregap_in_file = pregap_frames > 0 && track_start >= pregap_frames;
|
bool pregap_in_file = pregap_frames > 0 && track_start >= pregap_frames;
|
||||||
if (pregap_frames < 0)
|
if (track_num == 1 && pregap_frames < 0)
|
||||||
pregap_frames = 2 * FRAMES_PER_SECOND;
|
pregap_frames = 2 * FRAMES_PER_SECOND;
|
||||||
|
|
||||||
// create the index for the pregap
|
// create the index for the pregap
|
||||||
|
Loading…
x
Reference in New Issue
Block a user