]> git.sesse.net Git - vlc/blobdiff - include/vlc_config.h
* ./src/misc/modules.c: p_module->psz_filename is now filled with a real
[vlc] / include / vlc_config.h
index 08b354ea687c5421444c1e913083be53f4d2a327..dfde322fbe67b8375025ba87af6e6b8c88d291a6 100644 (file)
@@ -50,7 +50,7 @@
 /* The configuration file and directory */
 #ifdef SYS_BEOS
 #  define CONFIG_DIR                    "config/settings"
-#elif defined( WIN32 )
+#elif defined( WIN32 ) || defined( UNDER_CE )
 #  define CONFIG_DIR                   "vlc"
 #else
 #  define CONFIG_DIR                    ".vlc"
 
 /* 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)(.2*CLOCK_FREQ)
+#define DEFAULT_PTS_DELAY               (mtime_t)(.3*CLOCK_FREQ)
 
 /* DVD and VCD devices */
-#ifndef WIN32
+#if !defined( WIN32 ) && !defined( UNDER_CE )
 #   define DVD_DEVICE "/dev/dvd"
 #   define VCD_DEVICE "/dev/cdrom"
 #else
-#   define DVD_DEVICE "D"
-#   define VCD_DEVICE "D"
+#   define DVD_DEVICE "D:"
+#   define VCD_DEVICE "D:"
 #endif
 
 /*****************************************************************************
  * time, without resampling */
 #define AOUT_PTS_TOLERANCE              (mtime_t)(.02*CLOCK_FREQ)
 
+/* Max acceptable resampling (in %) */
+#define AOUT_MAX_RESAMPLING             10
+
 /*****************************************************************************
  * Video configuration
  *****************************************************************************/
 
 /* Optimization level, from 0 to 2 - 1 is generally a good compromise. Remember
  * that raising this level dramatically lengthens the compilation time. */
-#if defined( HAVE_RELEASE ) || defined( __pentiumpro__ )
+#if defined( HAVE_RELEASE )
 #   define VPAR_OPTIM_LEVEL             2
 #else
 #   define VPAR_OPTIM_LEVEL             1