acp: add api.acp.probe-rate option

Add an option to configure the samplerate used for probing because the
default 48KHz might not work for everyone.

See also #1599
This commit is contained in:
Wim Taymans 2022-12-16 12:57:17 +01:00
parent f4f316b951
commit 6a69152185
2 changed files with 6 additions and 2 deletions

View file

@ -47,6 +47,7 @@ struct pa_card {
bool auto_profile;
bool auto_port;
bool ignore_dB;
uint32_t rate;
pa_alsa_ucm_config ucm;
pa_alsa_profile_set *profile_set;