mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 12:08:11 +00:00
implement immediate destruction of iOS AudioUnit when no calls are active.
This commit is contained in:
parent
39f1f11d74
commit
e4aa948bb9
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue