13 int oldmin=-1, oldsec=-1;
15 error_init(NULL, NULL);
23 fsecs = timer_get_fixed_seconds();
29 if ((timer_get_fixed_seconds() - fsecs) >= F2_0) {
30 headloc = RBAGetHeadLoc(&min, &sec, &frame);
31 printf("Head loc: %d (%d:%d:%d)\n", headloc, min, sec, frame);
32 if (min==oldmin && sec==oldsec) {
33 printf("\nRepeating track..\n");
36 oldmin = min; oldsec = sec;
37 fsecs = timer_get_fixed_seconds();
41 printf("\nCD stopped.\n");