Input gain query/set
Input gain query/set
- Subject: Input gain query/set
- From: "Timothy J. Wood" <email@hidden>
- Date: Tue, 16 Mar 2004 08:03:24 -0800
The iSight seems to have a hardware input gain setting (or at least a
gain control shows up under System Prefs on 10.2.8 when it doesn't show
up for other input devices). But, I don't seem to be able to query
(let alone set) the value of this property.
I've tried the following properties on the AudioDeviceID for the
iSight:
kAudioDevicePropertyVolumeScalar
kAudioDevicePropertyVolumeRangeDecibels
kAudioDevicePropertyChannelNominalLineLevel
All of these return kAudioHardwareUnknownPropertyError when queried.
Am I missing something obvious?
Alternatively, is it just expected that I'd hook up the input to a
mixer AU and do the gain adjustment in software? This seems bad since
it loses any potential extra precision in samples that the device will
provide.
-tim
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.