mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-24 08:56:47 -05:00
alsa: keep track of input and output latency
track and report both input and output latency.
This commit is contained in:
parent
ed9560fb03
commit
8cf5927e95
5 changed files with 49 additions and 13 deletions
|
|
@ -149,6 +149,7 @@ struct state {
|
|||
#define IDX_Latency 5
|
||||
#define N_PORT_PARAMS 6
|
||||
struct spa_param_info port_params[N_PORT_PARAMS];
|
||||
enum spa_direction port_direction;
|
||||
struct spa_io_buffers *io;
|
||||
struct spa_io_clock *clock;
|
||||
struct spa_io_position *position;
|
||||
|
|
@ -196,7 +197,7 @@ struct state {
|
|||
struct spa_dll dll;
|
||||
double max_error;
|
||||
|
||||
struct spa_latency_info latency;
|
||||
struct spa_latency_info latency[2];
|
||||
|
||||
snd_use_case_mgr_t *ucm;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue