alsa: refactor dll code

This commit is contained in:
Wim Taymans 2020-12-09 12:09:40 +01:00
parent 5469ac19ab
commit d776a0917d
6 changed files with 114 additions and 108 deletions

View file

@ -45,6 +45,8 @@ extern "C" {
#include <spa/param/param.h>
#include <spa/param/audio/format-utils.h>
#include "dll.h"
#define MIN_LATENCY 16
#define MAX_LATENCY 8192
@ -159,9 +161,7 @@ struct state {
uint64_t underrun;
double safety;
double bw;
double z1, z2, z3;
double w0, w1, w2;
struct spa_dll dll;
};
int