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

Этот коммит содержится в:
Thomas Schmitt 2010-02-25 07:04:52 +00:00
родитель dd74364ebb
Коммит bd3016e085
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

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

Просмотреть файл

@ -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) */