Minor format change.

This commit is contained in:
rocky
2004-05-10 02:10:05 +00:00
parent 26f7bcb433
commit e5b8d7e308

View File

@@ -1,5 +1,5 @@
/* /*
$Id: sector.h,v 1.9 2004/05/09 16:55:52 rocky Exp $ $Id: sector.h,v 1.10 2004/05/10 02:10:05 rocky Exp $
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org> Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
Copyright (C) 2003 Rocky Bernstein <rocky@panix.com> Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
@@ -67,7 +67,7 @@
#include <cdio/types.h> #include <cdio/types.h>
#define CDIO_PREGAP_SECTORS 150 #define CDIO_PREGAP_SECTORS 150
#define CDIO_POSTGAP_SECTORS 150 #define CDIO_POSTGAP_SECTORS 150
/* /*
@@ -75,25 +75,28 @@
This is from linux.h - not to slight other OS's. This was the first This is from linux.h - not to slight other OS's. This was the first
place I came across such useful stuff. place I came across such useful stuff.
*/ */
#define CDIO_CD_MINS 74 /**< max. minutes per CD, not really #define CDIO_CD_MINS 74 /**< max. minutes per CD, not really
a limit */ a limit */
#define CDIO_CD_SECS_PER_MIN 60 /**< seconds per minute */ #define CDIO_CD_SECS_PER_MIN 60 /**< seconds per minute */
#define CDIO_CD_FRAMES_PER_SEC 75 /**< frames per second */ #define CDIO_CD_FRAMES_PER_SEC 75 /**< frames per second */
#define CDIO_CD_SYNC_SIZE 12 /**< 12 sync bytes per raw data frame */ #define CDIO_CD_SYNC_SIZE 12 /**< 12 sync bytes per raw data frame */
#define CDIO_CD_CHUNK_SIZE 24 /**< lowest-level "data bytes piece" */ #define CDIO_CD_CHUNK_SIZE 24 /**< lowest-level "data bytes piece" */
#define CDIO_CD_NUM_OF_CHUNKS 98 /**< chunks per frame */ #define CDIO_CD_NUM_OF_CHUNKS 98 /**< chunks per frame */
#define CDIO_CD_FRAMESIZE_SUB 96 /**< subchannel data "frame" size */ #define CDIO_CD_FRAMESIZE_SUB 96 /**< subchannel data "frame" size */
#define CDIO_CD_HEADER_SIZE 4 /**< header (address) bytes per raw #define CDIO_CD_HEADER_SIZE 4 /**< header (address) bytes per raw
data frame */ data frame */
#define CDIO_CD_SUBHEADER_SIZE 8 /**< subheader bytes per raw XA data frame */ #define CDIO_CD_SUBHEADER_SIZE 8 /**< subheader bytes per raw XA data
#define CDIO_CD_EDC_SIZE 4 /**< bytes EDC per most raw data frame */
frame types */ #define CDIO_CD_EDC_SIZE 4 /**< bytes EDC per most raw data
#define CDIO_CD_M1F1_ZERO_SIZE 8 /**< bytes zero per yellow book mode frame types */
1 frame */ #define CDIO_CD_M1F1_ZERO_SIZE 8 /**< bytes zero per yellow book mode
#define CDIO_CD_ECC_SIZE 276 /**< bytes ECC per most raw data frame types */ 1 frame */
#define CDIO_CD_FRAMESIZE 2048 /**< bytes per frame, "cooked" mode */ #define CDIO_CD_ECC_SIZE 276 /**< bytes ECC per most raw data frame
#define CDIO_CD_FRAMESIZE_RAW 2352/**< bytes per frame, "raw" mode */ types */
#define CDIO_CD_FRAMESIZE_RAWER 2646 /**< The maximum possible returned bytes */ #define CDIO_CD_FRAMESIZE 2048 /**< bytes per frame, "cooked" mode */
#define CDIO_CD_FRAMESIZE_RAW 2352 /**< bytes per frame, "raw" mode */
#define CDIO_CD_FRAMESIZE_RAWER 2646 /**< The maximum possible returned
bytes */
#define CDIO_CD_FRAMESIZE_RAW1 (CDIO_CD_CD_FRAMESIZE_RAW-CDIO_CD_SYNC_SIZE) /*2340*/ #define CDIO_CD_FRAMESIZE_RAW1 (CDIO_CD_CD_FRAMESIZE_RAW-CDIO_CD_SYNC_SIZE) /*2340*/
#define CDIO_CD_FRAMESIZE_RAW0 (CDIO_CD_FRAMESIZE_RAW-CDIO_CD_SYNC_SIZE-CDIO_CD__HEAD_SIZE) /*2336*/ #define CDIO_CD_FRAMESIZE_RAW0 (CDIO_CD_FRAMESIZE_RAW-CDIO_CD_SYNC_SIZE-CDIO_CD__HEAD_SIZE) /*2336*/