From e4aa948bb9ef316c044dc525c9f543e971f35be9 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Wed, 26 Nov 2014 12:14:31 +0100 Subject: [PATCH] implement immediate destruction of iOS AudioUnit when no calls are active. --- coreapi/linphonecore.c | 1 + mediastreamer2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 07beaf135..b57c18d4f 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -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); } } diff --git a/mediastreamer2 b/mediastreamer2 index 83e6c0dca..fa739e091 160000 --- a/mediastreamer2 +++ b/mediastreamer2 @@ -1 +1 @@ -Subproject commit 83e6c0dcaa3e88678423461848b6f3fb13bcc7dd +Subproject commit fa739e091ed5d483937771cc2ab310c442ba72d8