X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fconfig.h;h=e90ddd42e7739a770fac2bbf854f73f8bbe03967;hb=bf9b62a4ea50a2ac124711378775c1def87243ca;hp=510484a85f7d368ecd15065bd038d90a5c3ad7e2;hpb=3425b2e6d5b3e19374a81fd4e40509414bc0bcd7;p=vlc diff --git a/include/config.h b/include/config.h index 510484a85f..e90ddd42e7 100644 --- a/include/config.h +++ b/include/config.h @@ -51,9 +51,9 @@ #ifdef SYS_BEOS # define CONFIG_DIR "config/settings" #elif defined( WIN32 ) -# define CONFIG_DIR "videolan" +# define CONFIG_DIR "vlc" #else -# define CONFIG_DIR ".videolan" +# define CONFIG_DIR ".vlc" #endif #define CONFIG_FILE "vlcrc" @@ -105,7 +105,16 @@ /* Duration between the time we receive the data packet, and the time we will * mark it to be presented */ -#define DEFAULT_PTS_DELAY (mtime_t)(.35*CLOCK_FREQ) +#define DEFAULT_PTS_DELAY (mtime_t)(.45*CLOCK_FREQ) + +/* DVD and VCD devices */ +#ifndef WIN32 +# define DVD_DEVICE "/dev/dvd" +# define VCD_DEVICE "/dev/cdrom" +#else +# define DVD_DEVICE "D" +# define VCD_DEVICE "D" +#endif /***************************************************************************** * Audio configuration @@ -116,8 +125,9 @@ /* Volume */ #define VOLUME_DEFAULT 256 -#define VOLUME_STEP 128 +#define VOLUME_STEP 32 #define VOLUME_MAX 1024 +#define VOLUME_MIN 0 /* Number of audio output frames contained in an audio output fifo. * (AOUT_FIFO_SIZE + 1) must be a power of 2, in order to optimise the @@ -257,4 +267,7 @@ /* Maximal size of the message queue - in case of overflow, all messages in the * queue are printed, but not sent to the threads */ -#define INTF_MSG_QSIZE 256 +#define VLC_MSG_QSIZE 256 + +/* Maximal depth of the object tree output by vlc_dumpstructure */ +#define MAX_DUMPSTRUCTURE_DEPTH 100