Skip to main content
Participant
May 12, 2011 11:18 PM UTC
Question

iOS Microphone and Speakers problem

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 is closed to new replies. Start a new post to keep the conversation going.

4 replies

Adobe Employee
Dec 14, 2011 7:09 AM UTC

I hope you are not facing this problem anymore?

Translate
Adobe Employee
Jun 18, 2011 9:05 AM UTC

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.

Translate
Colin Holgate
Inspiring
Jun 18, 2011 1:44 PM UTC

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

Translate
Adobe Employee
Jun 18, 2011 1:49 PM UTC

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

Translate