mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-21 08:56:56 -05:00
spa: add some latency helpers
Add more fields to the latency object. Add methods to create, parse and process latency info.
This commit is contained in:
parent
0779862cda
commit
b9b89b92b2
15 changed files with 245 additions and 145 deletions
|
|
@ -45,6 +45,7 @@ extern "C" {
|
|||
#include <spa/node/io.h>
|
||||
#include <spa/debug/types.h>
|
||||
#include <spa/param/param.h>
|
||||
#include <spa/param/latency-utils.h>
|
||||
#include <spa/param/audio/format-utils.h>
|
||||
|
||||
#include "dll.h"
|
||||
|
|
@ -192,8 +193,7 @@ struct state {
|
|||
struct spa_dll dll;
|
||||
double max_error;
|
||||
|
||||
float latency_quantum;
|
||||
uint32_t latency;
|
||||
struct spa_latency_info latency;
|
||||
};
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue