alsa: add api.alsa.headroom setting

Can be used to tweak the extra distance kept between the hardware
and software pointers when reading and writing.

See #289
This commit is contained in:
Wim Taymans 2021-01-14 17:10:05 +01:00
parent abe73c9146
commit 7347b5ef05
5 changed files with 13 additions and 1 deletions

View file

@ -111,6 +111,7 @@ struct state {
struct spa_audio_info current_format;
uint32_t default_period_size;
uint32_t default_headroom;
uint32_t default_format;
unsigned int default_channels;
unsigned int default_rate;