allow to force alsa sample rate

This commit is contained in:
Simon Morlat 2011-10-19 21:14:08 +02:00
parent 8fcc886b10
commit 949b3cd841
2 changed files with 3 additions and 1 deletions

View file

@ -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