13
0

Fix CD cue file Index positions -- #7780

According to the cdrdao man page, they should be defined as follows:
  INDEX MM:SS:FF
   Increments the index number at given position within the track.
   The first statement will increment from 1 to 2. The position is
   relative to the real track start, not counting an existing pre-gap.
This commit is contained in:
Robin Gareus 2019-08-02 02:43:43 +02:00
parent 4e87751ab8
commit 71d4dd821c
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -838,7 +838,7 @@ ExportHandler::write_index_info_toc (CDMarkerStatus & status)
{
gchar buf[18];
samples_to_cd_frame_string (buf, status.index_position - status.track_position);
samples_to_cd_frame_string (buf, status.index_position - status.track_start_sample);
status.out << "INDEX" << buf << endl;
}