Add comments about INDEX pregap vs. PREGAP.

This commit is contained in:
Svend Sorensen
2005-03-18 22:46:12 +00:00
parent 948505e068
commit 2371a4f51a
2 changed files with 7 additions and 1 deletions

View File

@@ -110,6 +110,9 @@ INDEX
``index``
time in MSF format.
Having an ``INDEX 00`` and an ``INDEX 01`` defines a pregap using data from the
``FILE``.
ISRC
~~~~
@@ -143,6 +146,8 @@ PREGAP
``pregap``
time in MSF format.
The pregap is filled with generated silence.
REM
~~~

View File

@@ -45,7 +45,8 @@ void print_breaks (Cd *cd)
long b;
Track *track;
for (i = 1; i <= cd_get_ntrack(cd); i++) {
/* start on track 2 */
for (i = 2; i <= cd_get_ntrack(cd); i++) {
track = cd_get_track(cd, i);
/* don't print zero indexes */
b = track_get_start(track) + track_get_index(track, 1) - track_get_zero_pre(track);