1
Description: Add debugging comments to cdctl.h.
2
Patch created for some version between 1.0beta1-5 and and 1.0beta1-8.
3
Converted to quilt for 1.0beta-12.
4
Author: Doug Torrance <dtorrance@monmouthcollege.edu>
5
Last-Update: 2014-07-29
10
start = cd_trklist[status_track].track_start;
11
stop = start + cd_trklist[status_track].track_len - _CDCTL_SENSITIVITY;
12
now = ((sc.cdsc_absaddr.msf.minute) * 60 + sc.cdsc_absaddr.msf.second) * 75 + sc.cdsc_absaddr.msf.frame - CD_MSF_OFFSET;
14
+cout << "=============" << endl;
15
+cout << "start:" << start << endl;
16
+cout << "stop:" << stop << endl;
17
+cout << "now:" << now << endl;
19
if(now>0 && (now<start || now>=stop)){
20
status_state=ssPlaying;
23
+cout << "Play track " << status_track << endl;
24
+cout << "=============" << endl;