Skip to content

Commit

Permalink
play pregaps of songs by adding them at the end of the previous song (c…
Browse files Browse the repository at this point in the history
  • Loading branch information
freshprince authored Dec 13, 2020
1 parent a3b80da commit af6be9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cue.c
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ static struct cue_sheet *cue_parser_to_sheet(struct cue_parser *p)
if (idx > 0) {
int32_t postgap = prev->postgap != -1 ? prev->postgap : 0;
s->tracks[idx - 1].length =
(t->index0 - prev->index1 - postgap) / 75.0;
(t->index1 - prev->index1 - postgap) / 75.0;
}

cue_meta_move(&s->tracks[idx].meta, &t->meta);
Expand Down

0 comments on commit af6be9c

Please sign in to comment.