implement immediate destruction of iOS AudioUnit when no calls are active.

This commit is contained in:
Simon Morlat 2014-11-26 12:14:31 +01:00
parent 39f1f11d74
commit e4aa948bb9
2 changed files with 2 additions and 1 deletions

View file

@ -6395,6 +6395,7 @@ bool_t linphone_core_can_we_add_call(LinphoneCore *lc)
static void notify_soundcard_usage(LinphoneCore *lc, bool_t used){
MSSndCard *card=lc->sound_conf.capt_sndcard;
if (card && ms_snd_card_get_capabilities(card) & MS_SND_CARD_CAP_IS_SLOW){
ms_message("Notifying soundcard that we don't need it anymore for calls.");
ms_snd_card_set_usage_hint(card,used);
}
}

@ -1 +1 @@
Subproject commit 83e6c0dcaa3e88678423461848b6f3fb13bcc7dd
Subproject commit fa739e091ed5d483937771cc2ab310c442ba72d8