Param: add process latency param and info

This commit is contained in:
Wim Taymans 2021-06-22 16:10:13 +02:00
parent 8c77713a7b
commit 79866a93cd
7 changed files with 97 additions and 4 deletions

View file

@ -57,6 +57,7 @@ enum spa_param_type {
SPA_PARAM_Route, /**< routing configuration as SPA_TYPE_OBJECT_ParamRoute */
SPA_PARAM_Control, /**< Control parameter, a SPA_TYPE_Sequence */
SPA_PARAM_Latency, /**< latency reporting, a SPA_TYPE_OBJECT_ParamLatency */
SPA_PARAM_ProcessLatency, /**< processing latency, a SPA_TYPE_OBJECT_ParamProcessLatency */
};
/** information about a parameter */
@ -185,6 +186,14 @@ enum spa_param_latency {
SPA_PARAM_LATENCY_maxNs, /**< max latency (Long) in nanoseconds */
};
/** properties for SPA_TYPE_OBJECT_ParamProcessLatency */
enum spa_param_process_latency {
SPA_PARAM_PROCESS_LATENCY_START,
SPA_PARAM_PROCESS_LATENCY_quantum, /**< latency relative to quantum (Float) */
SPA_PARAM_PROCESS_LATENCY_rate, /**< latency (Int) relative to rate */
SPA_PARAM_PROCESS_LATENCY_ns, /**< latency (Long) in nanoseconds */
};
/**
* \}
*/