For Linux 2.4, USB audio : Reduced CD output buffer size to 32 kiB

This commit is contained in:
2007-05-21 19:03:06 +00:00
parent 79adcb520b
commit cd7b4e6de4
3 changed files with 6 additions and 2 deletions

View File

@ -218,7 +218,8 @@ static unsigned char *get_sector(struct burn_write_opts *opts,
seclen += burn_subcode_length(outmode);
/* ts A61219 : opts->obs is eventually a 32k trigger for DVD */
if (out->bytes + (seclen) > BUFFER_SIZE || out->bytes == opts->obs) {
if (out->bytes + seclen > BUFFER_SIZE ||
out->bytes + seclen > opts->obs) {
int err;
err = d->write(d, d->nwa, out);
if (err == BE_CANCELLED)