From a5b0be3885ea4121a310e81f4a425f5c015fbf1a Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Wed, 3 Oct 2007 08:41:01 +0000 Subject: [PATCH] More documentation for burn_source --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/libburn/libburn.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index 3d230c38..cb82bc60 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2007.10.02.180003" +#define Cdrskin_timestamP "2007.10.03.084206" diff --git a/libburn/trunk/libburn/libburn.h b/libburn/trunk/libburn/libburn.h index a9f9abd2..db59afce 100644 --- a/libburn/trunk/libburn/libburn.h +++ b/libburn/trunk/libburn/libburn.h @@ -336,6 +336,9 @@ struct burn_source { /** Read data from the source. Semantics like with read(2), but MUST either deliver the full buffer as defined by size or MUST deliver EOF (return -1) at the following call. + libburn will read a single sector by each call to (*read). + The size of a sector depends on BURN_MODE_*. The known range is + 2048 to 2352. */ int (*read)(struct burn_source *, unsigned char *buffer, int size);