开发者

Turning off AGC on the iPad

开发者 https://www.devze.com 2023-03-20 14:25 出处:网络
There is little consensus on whether the iOS interface Apple provides to shut off automatic gain control is actually implemented. Does anyone know definitively if it is possi开发者_如何学运维ble to sh

There is little consensus on whether the iOS interface Apple provides to shut off automatic gain control is actually implemented. Does anyone know definitively if it is possi开发者_如何学运维ble to shut off AGC when recording audio on the iPad and, if the answer is yes, how?


if you are using iOS< 5...the answer is NO.

if you are using iOS>=5 on an iPad2...the answer is still NO. Not

if you are using iOS>=5 on iPhone 3GS, iPod(4th gen), iPad1 (1st gen) the answer seems to be YES.

ACG is turned off when the AudioSessionMode is changed to kAudioSessionMode_Measurement. Check the Audio Session Services Reference.

input gain can be controlled by:

1) Set your audioSession's mode to kAudioSessionMode_Measurement.

2) Be sure that the device you are using has input gain available by using the kAudioSessionProperty_InputGainAvailable property.

3) Set the property kAudioSessionProperty_InputGainScalar to your desired gain level (between 0 and 1.0)

*haven't gotten my hands on the newest iPad yet, so cant confirm.

0

精彩评论

暂无评论...
验证码 换一张
取 消