]> git.sesse.net Git - vlc/blobdiff - include/vlc_config.h
Make playlist_export_t a VLC object
[vlc] / include / vlc_config.h
index 77709e7306c78fddb46086a1396df733697b8acd..ae6e7a19aa1b5d24b1097dd1f5e3a3031146ba76 100644 (file)
@@ -42,7 +42,7 @@
  * XXX the numerical value is 0 because of historical reason and will change.*/
 #define VLC_TS_INVALID (0)
 
-#define CLOCK_FREQ 1000000
+#define CLOCK_FREQ INT64_C(1000000)
 
 /* When creating or destroying threads in blocking mode, delay to poll thread
  * status */
 /* 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
  *****************************************************************************/