1 /*
2  * Copyright (c) 2005-2006 Jean-François Wauthy (pollux@xfce.org)
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17  */
18 
19 #ifndef __XFBURN_GLOBAL_H__
20 #define __XFBURN_GLOBAL_H__
21 
22 #ifdef HAVE_CONFIG_H
23 #include <config.h>
24 #endif
25 
26 #define BORDER 5
27 
28 #define READCD_CAPACITY N_("Capacity:")
29 #define READCD_PROGRESS N_("addr:")
30 #define READCD_DONE N_("Time total:")
31 
32 #define CDRDAO_LENGTH N_("length")
33 #define CDRDAO_FLUSHING N_("Flushing cache...")
34 #define CDRDAO_INSERT N_("Please insert a recordable disc and hit enter")
35 #define CDRDAO_INSERT_AGAIN N_("Cannot determine disc status - hit enter to try again.")
36 #define CDRDAO_DONE N_("CD copying finished successfully.")
37 
38 /* in reality CDR_1X_SPEED is 176.4 (see libburn.h:1577), but that shouldn't matter */
39 #define CDR_1X_SPEED 176
40 #define DVD_1X_SPEED 1385
41 #define BD_1X_SPEED  4496
42 
43 #define DATA_COMPOSITION_DEFAULT_NAME N_("Data composition")
44 
45 #define FIFO_DEFAULT_SIZE  4096    /* in kb, as int */
46 
47 #define AUDIO_BYTES_PER_SECTOR 2352
48 #define DATA_BYTES_PER_SECTOR 2048
49 
50 #define PCM_BYTES_PER_SECS 176400
51 
52 #define MAXIMUM_ISO_LEVEL_2_FILE_SIZE 0xFFFFFFFF
53 #define MAXIMUM_ISO_FILE_SIZE 0x20000000000
54 
55 /* DEBUG ONLY */
56 
57 /* do not use the real device, instead make everything write to /dev/null
58  * Note that this special device only supports one track!  */
59 //#define DEBUG_NULL_DEVICE
60 
61 //#define DEBUG_LIBBURN 1
62 
63 #endif
64