From 8963905bbc2ff601952ca311fca8e05950483032 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 23 Jan 2012 10:13:08 +0000 Subject: [PATCH] Improved reaction time on interrupt during writing of lead-in --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/drive.c | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index ce45d0a..b7d01de 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2012.01.22.125048" +#define Cdrskin_timestamP "2012.01.22.125357" diff --git a/libburn/drive.c b/libburn/drive.c index a51e07d..bccf6df 100644 --- a/libburn/drive.c +++ b/libburn/drive.c @@ -187,7 +187,10 @@ int burn_drive_is_occupied(struct burn_drive *d) if(d->busy == BURN_DRIVE_READING_SYNC || d->busy == BURN_DRIVE_WRITING_SYNC) return 2; - if(d->busy == BURN_DRIVE_WRITING) { + if(d->busy == BURN_DRIVE_WRITING || + d->busy == BURN_DRIVE_WRITING_LEADIN || + d->busy == BURN_DRIVE_WRITING_LEADOUT || + d->busy == BURN_DRIVE_WRITING_PREGAP) { /* ts A70928 */ /* >>> how do i learn whether the writer thread is still