Re: Phone bottom mic volume differences
Re: Phone bottom mic volume differences
- Subject: Re: Phone bottom mic volume differences
- From: Scott McAlister <email@hidden>
- Date: Thu, 07 Apr 2016 12:18:07 +0000
Thanks Anthony.
Tried setting the inputGain, but it still had the same effect if I set it the same for both scenarios. I could try using the default inputGain when headphones unplugged and increase when plugged in, but this seems a bit of a hack and unreliable since the default inputGain is likely different among different devices.
This can't or shouldn't be a difficult task since other apps seem to handle it fine.
Scott
On Wed, Apr 6, 2016 at 9:08 PM Anthony Myatt <
email@hidden> wrote:
Hi Scott,
You could try setting the input gain for the audio session when the route changes.
In my experience though the inbuilt mic has a settable gain and the headphone mic does not.
[[AVAudioSession sharedInstance] setInputGain:1.0 error:&err]
Kind regards,
Anthony Myatt
------------------------
Sent from my iPhone
> On 7 Apr 2016, at 6:58 AM, Scott McAlister <email@hidden> wrote:
>
> I am creating an app that uses iPhone bottom mic for recording with or
> without headphones plugged in. My issue is that the volume for
> recording with headphones plugged in is much lower than recording with
> headphones not plugged in.
>
> Is there a setting/configuration I need to add for when headphones are
> plugged in, so that recording is same volume as without headphones
>
> Thanks in advance,
> Scott
> _______________________________________________
> 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