Re: Some questions and problems on recording in measurement mode
Re: Some questions and problems on recording in measurement mode
- Subject: Re: Some questions and problems on recording in measurement mode
- From: Dave Fernandes <email@hidden>
- Date: Sun, 17 Mar 2013 03:22:08 -0400
On 2013-02-13, at 10:40 AM, Soares Chen <email@hidden> wrote:
> Hi Dave,
>
> Thanks for the tips. I tried to set a callback to the kAudioSessionProperty_InputGainAvailable property change event and in the callback I can change the gain on Phone successfully. It was likely that in the code changes I configured the audio session too early, during the app initialization instead of before the record button is pressed. The audio gain can only be configured briefly after the app is started.
I find a similar thing on iPhone 4 (iOS 6.1.2). AVAudioSession reports isInputGainSettable = YES, but if you change it too early, the change doesn't "stick".
>
> However doing so I still can't find a way to change the input gain in iPad. No matter how I tried, with measurement and default mode, there is no InputGainAvailable event fired and the property value is always false.
On iPad mini (iOS 6.1.2) isInputGainSettable = NO for the built-in microphone, but = YES for the headset microphone. I guess the hardware just has different capabilities than the iPhone.
>
> I tried to verify the behavior and found that on iPhone, the input gain can be adjusted both in measurement mode and in the default mode with AGC, as long as it is not set during app initialization. Do anyone know if it is possible to adjust input gain on iPad?
>
> Thanks.
>
> Soares
_______________________________________________
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