Skip to main content
Participant
May 12, 2011
Question

iOS Microphone and Speakers problem

  • May 12, 2011
  • 2 replies
  • 1149 views

When I use a Microphone code in my App, all sounds from "loud speakers" start going only to the "speaker for calling".

Is there any solution?

var mic:Microphone = Microphone.getMicrophone();

mic.gain = 50;
mic.setSilenceLevel(1, 1000);
mic.setUseEchoSuppression(true);
mic.setLoopBack(true);

stage.addEventListener(Event.ENTER_FRAME, onMicStatus);
function onMicStatus(event:Event):void
{
trace (mic.activityLevel);
}
This topic has been closed for replies.

2 replies

Adobe Employee
December 14, 2011

I hope you are not facing this problem anymore?

Adobe Employee
June 18, 2011

We are already aware of the problem and this will be fixed in the next release of AIR. While we are working on a solution, we would request you to please use the headset when using your app on an iPhone.

Colin Holgate
Inspiring
June 18, 2011

When you say next release, do you mean the recently released AIR 2.7, that has acoutic echo cancellation in it? As describved here:

http://kb2.adobe.com/cps/906/cpsid_90612.html

Adobe Employee
June 18, 2011

No, not the 2.7 release. But the next release after 2.7