]> git.sesse.net Git - vlc/blobdiff - include/vlc_config.h
libvlc_add_intf: remove dummy exception parameter
[vlc] / include / vlc_config.h
index c61b52f850adafe2e43373a137d3e2c6482ccbad..1e5a1aa6c0fdaaae973272909d463b1995e90638 100644 (file)
  * General configuration
  *****************************************************************************/
 
-#define CLOCK_FREQ 1000000
+/* All timestamp below or equal to this define are invalid/unset
+ * XXX the numerical value is 0 because of historical reason and will change.*/
+#define VLC_TS_INVALID (0)
+#define VLC_TS_0 (1)
 
+#define CLOCK_FREQ INT64_C(1000000)
 
 /* When creating or destroying threads in blocking mode, delay to poll thread
  * status */
@@ -71,7 +75,7 @@
 
 /* Number of read() calls needed until we check the file size through
  * fstat() */
-#define INPUT_FSTAT_NB_READS            10
+#define INPUT_FSTAT_NB_READS            16
 
 /*
  * General limitations
 /* Max acceptable resampling (in %) */
 #define AOUT_MAX_RESAMPLING             10
 
+/*****************************************************************************
+ * SPU configuration
+ *****************************************************************************/
+
+/* Buffer must avoid arriving more than SPU_MAX_PREPARE_TIME in advanced to
+ * the SPU */
+#define SPU_MAX_PREPARE_TIME ((mtime_t)(0.5*CLOCK_FREQ))
+
 /*****************************************************************************
  * Video configuration
  *****************************************************************************/
  * (~1 Mbyte) before using huge values */
 #define VOUT_MAX_PICTURES              16
 
-/* Minimum number of direct pictures the video output will accept without
- * creating additional pictures in system memory */
-#define VOUT_MIN_DIRECT_PICTURES        12
-
-/* Statistics are displayed every n loops (=~ pictures) */
-#define VOUT_STATS_NB_LOOPS             100
-
 /*
  * Time settings
  */