I've looked everywhere, and I can't find a way to adjust the input volume of an input device for an AVCaptureSession. The best I can do, which doesn't help me at all, is get the levels of audio from the device by accessing the connections (AVCaptureConnections) from the AVCaptureAudioDataOutput - i.e., by monitoring the levels from a preview output. Is there any way to change the input gain, or even to get the audio input level directly in AVFoundation? I'm still learning a bit, so I apologize if I have missed anything obvious.
Edit: I should note that this is for OSX.