Compare commits

...

3 Commits

4 changed files with 16 additions and 11 deletions

View File

@ -201,6 +201,7 @@ EXTRA_DIST = \
doc/cookbook.txt \
doc/mediainfo.txt \
doc/cdtext.txt \
doc/waveformat.txt \
README \
AUTHORS \
CONTRIBUTORS \

View File

@ -2,7 +2,7 @@
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH CDRSKIN 1 "Version 1.5.5, Jan 30, 2021"
.TH CDRSKIN 1 "Version 1.5.5, Jun 29, 2021"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
@ -1087,11 +1087,11 @@ This directory has to already exist, but none of the track files may exist.
This option will rather fail than overwrite an existing file.
.br
By default all tracks of the CD are extracted to files with names
trackNN.wav, where NN is the track number from 01 to at most 99.
NN.wav, where NN is the track number from 01 to at most 99.
.TP
.BI extract_basename= name
Set a filename which shall be used by extract_audio_to= instead of the default
name "track".
Set a filename prefix which shall be used by extract_audio_to= instead of the
empty default name prefix.
.TP
.BI --extract_dap
Enable Digital Audio Play flaw obscuring mechanisms

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2021.03.12.082731"
#define Cdrskin_timestamP "2021.09.02.181259"

View File

@ -2635,7 +2635,7 @@ int mmc_read_cd(struct burn_drive *d, int start, int len,
int sec_type, int main_ch,
const struct burn_read_opts *o, struct buffer *buf, int flag)
{
int temp, req, ret, dap_bit;
int temp, req, ret, dap_bit, len_shift;
int subcodes_audio = 0, subcodes_data = 0;
struct command *c;
@ -2674,6 +2674,9 @@ int mmc_read_cd(struct burn_drive *d, int start, int len,
}
scsi_init_command(c, MMC_READ_CD, sizeof(MMC_READ_CD));
/* (this was never tested with anything but sec_type = 1 = CD-DA) */
if(sec_type == 1 && main_ch == 0x10)
c->dxfer_len = len * 2352;
c->retry = 1;
c->opcode[1] = ((sec_type & 7) << 2) | ((!!dap_bit) << 1);
temp = start;
@ -2684,11 +2687,12 @@ int mmc_read_cd(struct burn_drive *d, int start, int len,
c->opcode[3] = temp & 0xFF;
temp >>= 8;
c->opcode[2] = temp & 0xFF;
c->opcode[8] = len & 0xFF;
len >>= 8;
c->opcode[7] = len & 0xFF;
len >>= 8;
c->opcode[6] = len & 0xFF;
len_shift = len;
c->opcode[8] = len_shift & 0xFF;
len_shift >>= 8;
c->opcode[7] = len_shift & 0xFF;
len_shift >>= 8;
c->opcode[6] = len_shift & 0xFF;
req = main_ch & 0xf8;
#ifdef Libburn_mmc_report_recovereD