mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-24 07:00:05 -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
|
|
@ -44,7 +44,7 @@ struct spa_latency_info {
|
|||
uint64_t max_ns;
|
||||
};
|
||||
|
||||
#define SPA_LATENCY_INFO(dir) (struct spa_latency_info) { .direction = (dir) }
|
||||
#define SPA_LATENCY_INFO(dir,...) (struct spa_latency_info) { .direction = (dir), ## __VA_ARGS__ }
|
||||
|
||||
static inline int
|
||||
spa_latency_info_compare(const struct spa_latency_info *a, struct spa_latency_info *b)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue