X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_config.h;h=1e5a1aa6c0fdaaae973272909d463b1995e90638;hb=cec206c39a1e2ff00d9e051a5649a3e3503d3cc8;hp=c61b52f850adafe2e43373a137d3e2c6482ccbad;hpb=3e356e56b23267a91a9e682cc63115926da77600;p=vlc diff --git a/include/vlc_config.h b/include/vlc_config.h index c61b52f850..1e5a1aa6c0 100644 --- a/include/vlc_config.h +++ b/include/vlc_config.h @@ -38,8 +38,12 @@ * 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 @@ -128,6 +132,14 @@ /* 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 *****************************************************************************/ @@ -150,13 +162,6 @@ * (~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 */