Corrected optional speed curb for stdio: drives. Was damaged by revision 2903.

This commit is contained in:
Thomas Schmitt 2010-02-25 07:04:52 +00:00
parent dd74364ebb
commit bd3016e085
2 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2010.02.22.134904"
#define Cdrskin_timestamP "2010.02.25.070635"

View File

@ -2265,8 +2265,9 @@ int burn_stdio_write_track(struct burn_write_opts *o, struct burn_session *s,
prev_sync_sector = d->progress.sector;
if (!o->simulate)
burn_stdio_sync_cache(d->stdio_fd, d, 1);
burn_stdio_slowdown(d, &prev_time, 512 * 2, 0);
}
if ((d->progress.sector % 512) == 0)
burn_stdio_slowdown(d, &prev_time, 512 * 2, 0);
}
/* Pad up buffer to next full o->obs (usually 32 kB) */