sourcestats: add fixed asymmetry

Rework the code to allow the jitter asymmetry to be specified.
This commit is contained in:
Miroslav Lichvar
2017-08-22 16:26:40 +02:00
parent d0964ffa83
commit b06d74ab73
7 changed files with 59 additions and 32 deletions

View File

@@ -59,8 +59,9 @@ typedef enum {
/* Function to create a new instance. This would be called by one of
the individual source-type instance creation routines. */
extern SRC_Instance SRC_CreateNewInstance(uint32_t ref_id, SRC_Type type, int sel_options, IPAddr *addr,
int min_samples, int max_samples, double min_delay);
extern SRC_Instance SRC_CreateNewInstance(uint32_t ref_id, SRC_Type type, int sel_options,
IPAddr *addr, int min_samples, int max_samples,
double min_delay, double asymmetry);
/* Function to get rid of a source when it is being unconfigured.
This may cause the current reference source to be reselected, if this