mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
allow to force alsa sample rate
This commit is contained in:
parent
8fcc886b10
commit
949b3cd841
2 changed files with 3 additions and 1 deletions
|
|
@ -383,6 +383,8 @@ static void sound_config_read(LinphoneCore *lc)
|
|||
MSSndCard *card=ms_alsa_card_new_custom(devid,devid);
|
||||
ms_snd_card_manager_add_card(ms_snd_card_manager_get(),card);
|
||||
}
|
||||
tmp=lp_config_get_int(lc->config,"sound","alsa_forced_rate",-1);
|
||||
ms_alsa_card_set_forced_sample_rate(tmp);
|
||||
#endif
|
||||
/* retrieve all sound devices */
|
||||
build_sound_devices_table(lc);
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 954911c0dbdf7351cd82df70d0999a84d163db7f
|
||||
Subproject commit 00dfc7dd6aab93dcc9b81527370842b38fc3987d
|
||||
Loading…
Add table
Reference in a new issue