mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 09:06:33 +01:00
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:
parent
4e87751ab8
commit
71d4dd821c
1 changed files with 1 additions and 1 deletions
|
|
@ -838,7 +838,7 @@ ExportHandler::write_index_info_toc (CDMarkerStatus & status)
|
||||||
{
|
{
|
||||||
gchar buf[18];
|
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;
|
status.out << "INDEX" << buf << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue