alsa: add option to configure period-size

api.alsa.period-size can be set to something else than 1024 with
this config option.
This commit is contained in:
Wim Taymans 2021-01-05 12:44:10 +01:00
parent bad9a36a84
commit 87292432b7
4 changed files with 8 additions and 3 deletions

View file

@ -110,6 +110,7 @@ struct state {
bool have_format;
struct spa_audio_info current_format;
uint32_t default_period_size;
uint32_t default_format;
unsigned int default_channels;
unsigned int default_rate;