Moved general 32 kiB buffer restriction from write.c to os-linux.h
This commit is contained in:
parent
15a70555b2
commit
fba8eaef80
@ -1 +1 @@
|
||||
#define Cdrskin_timestamP "2007.05.22.164850"
|
||||
#define Cdrskin_timestamP "2007.05.28.132412"
|
||||
|
@ -42,7 +42,10 @@ SIGKILL, SIGCHLD, SIGSTOP, SIGURG, SIGWINCH
|
||||
|
||||
/* The maximum size for a (SCSI) i/o transaction */
|
||||
/* Important : MUST be at least 32768 ! */
|
||||
/* ts A70523 : >32k seems not good with kernel 2.4 USB drivers and audio
|
||||
#define BURN_OS_TRANSPORT_BUFFER_SIZE 65536
|
||||
*/
|
||||
#define BURN_OS_TRANSPORT_BUFFER_SIZE 32768
|
||||
|
||||
|
||||
/* To hold the index number of the most recently delivered address from
|
||||
|
@ -1765,9 +1765,6 @@ void burn_disc_write_sync(struct burn_write_opts *o, struct burn_disc *disc)
|
||||
return;
|
||||
}
|
||||
|
||||
/* ts A70521 : Linux 2.4 USB audio fails with 64 kiB */
|
||||
o->obs = 32*1024; /* buffer flush trigger for sector.c:get_sector() */
|
||||
|
||||
#ifndef Libburn_precheck_write_ruleS
|
||||
/* <<< covered by burn_precheck_write() */
|
||||
if (o->start_byte >= 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user