alsa: handle target better

Rework how we handle the current device fill level and our desired
fill level so that we handle it more consistently.
This commit is contained in:
Wim Taymans 2019-09-05 13:41:59 +02:00
parent 88299ab225
commit 4a4fa57efc
3 changed files with 66 additions and 64 deletions

View file

@ -103,8 +103,8 @@ struct state {
int channels;
size_t frame_size;
int rate_denom;
int delay;
int read_size;
uint32_t delay;
uint32_t read_size;
uint64_t port_info_all;
struct spa_port_info port_info;