Commit 949b3cd8 authored by Simon Morlat's avatar Simon Morlat
Browse files

allow to force alsa sample rate

parent 8fcc886b
......@@ -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);
......
mediastreamer2 @ 00dfc7dd
Subproject commit 954911c0dbdf7351cd82df70d0999a84d163db7f
Subproject commit 00dfc7dd6aab93dcc9b81527370842b38fc3987d
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment