Skip to main content
Participant
June 1, 2011
Answered

iOS sound output problem

  • June 1, 2011
  • 2 replies
  • 2722 views

Hi,

I'm working on a sound processing app, which records sounds first using the microphone and later plays the processed sound dynamically using SampleDataEvent.SAMPLE_DATA event.

It works perfectly on iPod Touch devices, but there is a problem with iPhone. Recording and processing are fine, yet the sound plays from the ear speaker, not the loud speakers. Do you know how to fix this and route audio output to the loudspeakers of iphone?

Thanks...

This topic has been closed for replies.
Correct answer Divij Kumar

Hi,

We are aware of the problem that you are seeing on iPhone and are working on a solution.

What is happening is that when you use the Microphone API, the OS uses the reciever speaker on the iPhone as the default audio output instead of the device loudspeaker. As you correctly pointed out the problem does not occur on iPod or iPad as there is a single device speaker on those devices.

While we are working on a solution, we would request you to please use the headset when using your app on an iPhone.

Regards

Divij

(AIR Engineering)

2 replies

Divij KumarCorrect answer
Adobe Employee
June 2, 2011

Hi,

We are aware of the problem that you are seeing on iPhone and are working on a solution.

What is happening is that when you use the Microphone API, the OS uses the reciever speaker on the iPhone as the default audio output instead of the device loudspeaker. As you correctly pointed out the problem does not occur on iPod or iPad as there is a single device speaker on those devices.

While we are working on a solution, we would request you to please use the headset when using your app on an iPhone.

Regards

Divij

(AIR Engineering)

serhatbyAuthor
Participant
June 2, 2011

Thanks for the answers. To be clear, I'm not using setLoopback(true) anywhere.

To try a workaround, would ios keep using the loudspeakers if I keep a sound playing in the background before I start using the microphone api?

relaxatraja
Inspiring
June 2, 2011

You added the line for the mic instance:

mic.setLoopBack(true);