Commit Graph

23 Commits

Author SHA1 Message Date
5e0b86af82 Try to do a simple fix of Q subchannel when calculating pregap. 2020-01-09 17:03:20 +00:00
216461d1f4 If Q CRC is not OK or pregap difference is bigger than 10 sectors, skip this, keep going back, unless we are going forward, then just increment pregap by one and continue to next track. 2020-01-09 16:33:52 +00:00
5bded4e37d If pregap read returned error skip forward. 2020-01-09 16:13:30 +00:00
370d4f157b Only skip 10 sectors in pregap calculation when going back. 2020-01-09 16:11:23 +00:00
65163f0363 Do not try to read into intersessions pregaps. 2020-01-09 16:08:33 +00:00
e6dfbc028f Add debug messages to pregap calculation. 2020-01-08 22:39:59 +00:00
9148b8f19e Fix infinite loop in pregap calculation when subchannel comes empty. 2020-01-08 01:52:16 +00:00
14140ed420 Do not try to fix inexactly positioned Q pregaps, as this introduces more errors than it fixes. 2020-01-06 22:27:24 +00:00
9be90b7cb9 Try to solve pregaps when drive+disc combination returns wrong Q positioning and report this has been the case. 2020-01-06 18:36:11 +00:00
93d0671e49 Calculate pregap when drive only supports reading Q subchannel. 2020-01-06 01:12:00 +00:00
fb0281ef41 Continue calculation of pregap even if we didnt get a valid Q subchannel. 2020-01-05 15:49:01 +00:00
72578b7daf Some drives crash if you try to read just before the previous read, so seek away first. 2020-01-05 15:48:37 +00:00
9be6f66f5d Do not infinite loop on same LBA when Q CRC is never correct. 2020-01-05 15:37:00 +00:00
aeac5ea0e6 Rework pregap calculation. 2020-01-05 06:06:50 +00:00
51b39da0d6 Update copyright date. 2020-01-03 17:52:18 +00:00
ba599df172 Deduplicate code in pregap calculation. 2020-01-03 16:40:04 +00:00
dc99e7a02d Add special check for pregap of 0. 2020-01-03 16:11:53 +00:00
ab4b849175 Fix infinite loop on pregap calculation when subchannel is empty. 2020-01-03 15:00:25 +00:00
9bbc70f06e Calculate track sizes and pregaps in media info. 2020-01-02 18:31:49 +00:00
ebcb66f376 Fix pregap calculations when Q subchannel is BCD. 2020-01-02 18:17:47 +00:00
59eb326098 Remove spurious read command in pregap calculation. 2020-01-02 16:02:47 +00:00
912ab555fb Calculate and use track pregaps. 2020-01-02 01:01:34 +00:00
727afd3e79 Move CD first track pregap reading to a separate file. 2020-01-02 01:01:34 +00:00