• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Forcing iPhone microphone as Audio Input when headset is plugged in
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Forcing iPhone microphone as Audio Input when headset is plugged in


  • Subject: Re: Forcing iPhone microphone as Audio Input when headset is plugged in
  • From: Jimmy Ti <email@hidden>
  • Date: Tue, 26 Oct 2010 14:42:54 +1000

I have tried setting kAudioSessionProperty_OverrideAudioRoute, and that forces both input and output to use the internal speakerphone.

This solves half of my problem, i.e. forcing input through internal microphone, but once I did this, I cannot output Audio through my headphone anymore. Is it possible to create another audio session that output audio through the headphone?

Thanks and regards,
Jimmy Ti

On Tue, Oct 26, 2010 at 2:32 PM, tahome izwah <email@hidden> wrote:
There is a property called kAudioSessionProperty_OverrideAudioRoute
but I'm not sure that it can be used to override mic input... you can
use it to force output to the speaker though.

May be a good idea to file a bug/enhancement request but I'm not sure
if the mic case can be handled in software.

--th

2010/10/26 Jimmy Ti <email@hidden>:
> Hi everyone,
>
> I am developing an iOS application (targeting specifically for iPhone, at
> the moment) that requires the application to record audio only from iPhone
> internal microphone (even when headphone/headset is plugged in), and
> playback at headphone (let's assumed headphone is plugged in for now).
>
> I am wondering if this is currently possible with the available APIs? If so,
> can anyone please shed some light on how do I go about doing this?
>
> Thanks and regards,
> Jimmy Ti
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Forcing iPhone microphone as Audio Input when headset is plugged in (From: Jimmy Ti <email@hidden>)
 >Re: Forcing iPhone microphone as Audio Input when headset is plugged in (From: tahome izwah <email@hidden>)

  • Prev by Date: Re: Forcing iPhone microphone as Audio Input when headset is plugged in
  • Next by Date: progress of AVAssetWriter
  • Previous by thread: Re: Forcing iPhone microphone as Audio Input when headset is plugged in
  • Next by thread: AUFilePlayer, checking when its finished playing
  • Index(es):
    • Date
    • Thread