Compare commits
3 Commits
8d270b1fda
...
27e15689e5
Author | SHA1 | Date |
---|---|---|
Thomas Schmitt | 27e15689e5 | |
Thomas Schmitt | 0a1bbb1696 | |
Thomas Schmitt | c76145f5e1 |
|
@ -201,6 +201,7 @@ EXTRA_DIST = \
|
||||||
doc/cookbook.txt \
|
doc/cookbook.txt \
|
||||||
doc/mediainfo.txt \
|
doc/mediainfo.txt \
|
||||||
doc/cdtext.txt \
|
doc/cdtext.txt \
|
||||||
|
doc/waveformat.txt \
|
||||||
README \
|
README \
|
||||||
AUTHORS \
|
AUTHORS \
|
||||||
CONTRIBUTORS \
|
CONTRIBUTORS \
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
.\" First parameter, NAME, should be all caps
|
.\" First parameter, NAME, should be all caps
|
||||||
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||||
.\" other parameters are allowed: see man(7), man(1)
|
.\" 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.
|
.\" Please adjust this date whenever revising the manpage.
|
||||||
.\"
|
.\"
|
||||||
.\" Some roff macros, for reference:
|
.\" 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.
|
This option will rather fail than overwrite an existing file.
|
||||||
.br
|
.br
|
||||||
By default all tracks of the CD are extracted to files with names
|
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
|
.TP
|
||||||
.BI extract_basename= name
|
.BI extract_basename= name
|
||||||
Set a filename which shall be used by extract_audio_to= instead of the default
|
Set a filename prefix which shall be used by extract_audio_to= instead of the
|
||||||
name "track".
|
empty default name prefix.
|
||||||
.TP
|
.TP
|
||||||
.BI --extract_dap
|
.BI --extract_dap
|
||||||
Enable Digital Audio Play flaw obscuring mechanisms
|
Enable Digital Audio Play flaw obscuring mechanisms
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
#define Cdrskin_timestamP "2021.03.12.082731"
|
#define Cdrskin_timestamP "2021.09.02.181259"
|
||||||
|
|
|
@ -2635,7 +2635,7 @@ int mmc_read_cd(struct burn_drive *d, int start, int len,
|
||||||
int sec_type, int main_ch,
|
int sec_type, int main_ch,
|
||||||
const struct burn_read_opts *o, struct buffer *buf, int flag)
|
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;
|
int subcodes_audio = 0, subcodes_data = 0;
|
||||||
struct command *c;
|
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));
|
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->retry = 1;
|
||||||
c->opcode[1] = ((sec_type & 7) << 2) | ((!!dap_bit) << 1);
|
c->opcode[1] = ((sec_type & 7) << 2) | ((!!dap_bit) << 1);
|
||||||
temp = start;
|
temp = start;
|
||||||
|
@ -2684,11 +2687,12 @@ int mmc_read_cd(struct burn_drive *d, int start, int len,
|
||||||
c->opcode[3] = temp & 0xFF;
|
c->opcode[3] = temp & 0xFF;
|
||||||
temp >>= 8;
|
temp >>= 8;
|
||||||
c->opcode[2] = temp & 0xFF;
|
c->opcode[2] = temp & 0xFF;
|
||||||
c->opcode[8] = len & 0xFF;
|
len_shift = len;
|
||||||
len >>= 8;
|
c->opcode[8] = len_shift & 0xFF;
|
||||||
c->opcode[7] = len & 0xFF;
|
len_shift >>= 8;
|
||||||
len >>= 8;
|
c->opcode[7] = len_shift & 0xFF;
|
||||||
c->opcode[6] = len & 0xFF;
|
len_shift >>= 8;
|
||||||
|
c->opcode[6] = len_shift & 0xFF;
|
||||||
req = main_ch & 0xf8;
|
req = main_ch & 0xf8;
|
||||||
|
|
||||||
#ifdef Libburn_mmc_report_recovereD
|
#ifdef Libburn_mmc_report_recovereD
|
||||||
|
|
Loading…
Reference in New Issue