## brasero-enums

brasero-enums

## Synopsis

    enum                BraseroBurnResult;
    enum                BraseroBurnFlag;
    enum                BraseroBurnAction;
    enum                BraseroImageFS;
    enum                BraseroStreamFormat;
    #define             BRASERO_STREAM_FORMAT_AUDIO         (stream_FORMAT)
    #define             BRASERO_STREAM_FORMAT_VIDEO         (stream_FORMAT)
    #define             BRASERO_MIN_STREAM_LENGTH
    #define             BRASERO_STREAM_LENGTH               (start_MACRO, end_MACRO)
    #define             BRASERO_STREAM_FORMAT_HAS_VIDEO     (format_MACRO)
    enum                BraseroImageFormat;

## Description

## Details

### enum BraseroBurnResult

    typedef enum {
    	BRASERO_BURN_OK,
    	BRASERO_BURN_ERR,
    	BRASERO_BURN_RETRY,
    	BRASERO_BURN_CANCEL,
    	BRASERO_BURN_RUNNING,
    	BRASERO_BURN_DANGEROUS,
    	BRASERO_BURN_NOT_READY,
    	BRASERO_BURN_NOT_RUNNING,
    	BRASERO_BURN_NEED_RELOAD,
    	BRASERO_BURN_NOT_SUPPORTED,
    } BraseroBurnResult;

### enum BraseroBurnFlag

    typedef enum {
    	BRASERO_BURN_FLAG_NONE			= 0,

    	/* These flags should always be supported */
    	BRASERO_BURN_FLAG_CHECK_SIZE		= 1,
    	BRASERO_BURN_FLAG_NOGRACE		= 1 << 1,
    	BRASERO_BURN_FLAG_EJECT			= 1 << 2,

    	/* These are of great importance for the result */
    	BRASERO_BURN_FLAG_MERGE			= 1 << 3,
    	BRASERO_BURN_FLAG_MULTI			= 1 << 4,
    	BRASERO_BURN_FLAG_APPEND		= 1 << 5,

    	BRASERO_BURN_FLAG_BURNPROOF		= 1 << 6,
    	BRASERO_BURN_FLAG_NO_TMP_FILES		= 1 << 7,
    	BRASERO_BURN_FLAG_DUMMY			= 1 << 8,

    	BRASERO_BURN_FLAG_OVERBURN		= 1 << 9,

    	BRASERO_BURN_FLAG_BLANK_BEFORE_WRITE = 1 << 10,
    	BRASERO_BURN_FLAG_FAST_BLANK		= 1 << 11,

    	/* NOTE: these two are contradictory? */
    	BRASERO_BURN_FLAG_DAO			= 1 << 13,
    	BRASERO_BURN_FLAG_RAW			= 1 << 14,

    	BRASERO_BURN_FLAG_LAST
    } BraseroBurnFlag;

### enum BraseroBurnAction

    typedef enum {
    	BRASERO_BURN_ACTION_NONE		= 0,
    	BRASERO_BURN_ACTION_GETTING_SIZE,
    	BRASERO_BURN_ACTION_CREATING_IMAGE,
    	BRASERO_BURN_ACTION_RECORDING,
    	BRASERO_BURN_ACTION_BLANKING,
    	BRASERO_BURN_ACTION_CHECKSUM,
    	BRASERO_BURN_ACTION_DRIVE_COPY,
    	BRASERO_BURN_ACTION_FILE_COPY,
    	BRASERO_BURN_ACTION_ANALYSING,
    	BRASERO_BURN_ACTION_TRANSCODING,
    	BRASERO_BURN_ACTION_PREPARING,
    	BRASERO_BURN_ACTION_LEADIN,
    	BRASERO_BURN_ACTION_RECORDING_CD_TEXT,
    	BRASERO_BURN_ACTION_FIXATING,
    	BRASERO_BURN_ACTION_LEADOUT,
    	BRASERO_BURN_ACTION_START_RECORDING,
    	BRASERO_BURN_ACTION_FINISHED,
    	BRASERO_BURN_ACTION_EJECTING,
    	BRASERO_BURN_ACTION_LAST
    } BraseroBurnAction;

### enum BraseroImageFS

    typedef enum {
    	BRASERO_IMAGE_FS_NONE			= 0,
    	BRASERO_IMAGE_FS_ISO			= 1,
    	BRASERO_IMAGE_FS_UDF			= 1 << 1,
    	BRASERO_IMAGE_FS_JOLIET			= 1 << 2,
    	BRASERO_IMAGE_FS_VIDEO			= 1 << 3,

    	/* The following one conflict with UDF and JOLIET */
    	BRASERO_IMAGE_FS_SYMLINK		= 1 << 4,

    	BRASERO_IMAGE_ISO_FS_LEVEL_3		= 1 << 5,
    	BRASERO_IMAGE_ISO_FS_DEEP_DIRECTORY = 1 << 6,
    	BRASERO_IMAGE_FS_ANY			= BRASERO_IMAGE_FS_ISO|
    						  BRASERO_IMAGE_FS_UDF|
    						  BRASERO_IMAGE_FS_JOLIET|
    						  BRASERO_IMAGE_FS_SYMLINK|
    						  BRASERO_IMAGE_ISO_FS_LEVEL_3|
    						  BRASERO_IMAGE_FS_VIDEO|
    						  BRASERO_IMAGE_ISO_FS_DEEP_DIRECTORY
    } BraseroImageFS;

### enum BraseroStreamFormat

    typedef enum {
    	BRASERO_AUDIO_FORMAT_NONE		= 0,
    	BRASERO_AUDIO_FORMAT_UNDEFINED		= 1,
    	BRASERO_AUDIO_FORMAT_4_CHANNEL		= 1 << 1,
    	BRASERO_AUDIO_FORMAT_RAW		= 1 << 2,
    	BRASERO_AUDIO_FORMAT_AC3		= 1 << 3,
    	BRASERO_AUDIO_FORMAT_MP2		= 1 << 4,
    	BRASERO_AUDIO_FORMAT_44100		= 1 << 5,
    	BRASERO_AUDIO_FORMAT_48000		= 1 << 6,
    	BRASERO_VIDEO_FORMAT_UNDEFINED		= 1 << 7,
    	BRASERO_VIDEO_FORMAT_VCD		= 1 << 8,
    	BRASERO_VIDEO_FORMAT_VIDEO_DVD		= 1 << 9,

    	BRASERO_METADATA_INFO			= 1 << 10
    } BraseroStreamFormat;

### BRASERO_STREAM_FORMAT_AUDIO()

    #define BRASERO_STREAM_FORMAT_AUDIO(stream_FORMAT) ((stream_FORMAT) & 0x007F)

`stream_FORMAT` : |

### BRASERO_STREAM_FORMAT_VIDEO()

    #define BRASERO_STREAM_FORMAT_VIDEO(stream_FORMAT) ((stream_FORMAT) & 0x0380)

`stream_FORMAT` : |

### BRASERO_MIN_STREAM_LENGTH

    #define BRASERO_MIN_STREAM_LENGTH			((gint64) 6 * 1000000000LL)

### BRASERO_STREAM_LENGTH()

    #define             BRASERO_STREAM_LENGTH(start_MACRO, end_MACRO)

`start_MACRO` : |
`end_MACRO` : |

### BRASERO_STREAM_FORMAT_HAS_VIDEO()

    #define             BRASERO_STREAM_FORMAT_HAS_VIDEO(format_MACRO)

`format_MACRO` : |

### enum BraseroImageFormat

    typedef enum {
    	BRASERO_IMAGE_FORMAT_NONE = 0,
    	BRASERO_IMAGE_FORMAT_BIN = 1,
    	BRASERO_IMAGE_FORMAT_CUE = 1 << 1,
    	BRASERO_IMAGE_FORMAT_CLONE = 1 << 2,
    	BRASERO_IMAGE_FORMAT_CDRDAO = 1 << 3,
    	BRASERO_IMAGE_FORMAT_ANY = BRASERO_IMAGE_FORMAT_BIN|
    	BRASERO_IMAGE_FORMAT_CUE|
    	BRASERO_IMAGE_FORMAT_CDRDAO|
    	BRASERO_IMAGE_FORMAT_CLONE,
    } BraseroImageFormat;