Moved general 32 kiB buffer restriction from write.c to os-linux.h

This commit is contained in:
Thomas Schmitt 2007-05-28 13:24:33 +00:00
parent 15a70555b2
commit fba8eaef80
3 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2007.05.22.164850" #define Cdrskin_timestamP "2007.05.28.132412"

View File

@ -42,7 +42,10 @@ SIGKILL, SIGCHLD, SIGSTOP, SIGURG, SIGWINCH
/* The maximum size for a (SCSI) i/o transaction */ /* The maximum size for a (SCSI) i/o transaction */
/* Important : MUST be at least 32768 ! */ /* 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 65536
*/
#define BURN_OS_TRANSPORT_BUFFER_SIZE 32768
/* To hold the index number of the most recently delivered address from /* To hold the index number of the most recently delivered address from

View File

@ -1765,9 +1765,6 @@ void burn_disc_write_sync(struct burn_write_opts *o, struct burn_disc *disc)
return; 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 #ifndef Libburn_precheck_write_ruleS
/* <<< covered by burn_precheck_write() */ /* <<< covered by burn_precheck_write() */
if (o->start_byte >= 0) { if (o->start_byte >= 0) {