Commit e4aa948b authored by Simon Morlat's avatar Simon Morlat

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

parent 39f1f11d
......@@ -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);
}
}
......
mediastreamer2 @ fa739e09
Subproject commit 83e6c0dcaa3e88678423461848b6f3fb13bcc7dd
Subproject commit fa739e091ed5d483937771cc2ab310c442ba72d8
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