ADC Home > Reference Library > Technical Q&As > Audio > Carbon >

Not Recommended Documentclose button

Important: The information in this document is Not Recommended and should not be used for new development.

Current information on this Reference Library topic can be found here:

Making Input Gain Setting Changes

Q When I make changes to the input gain setting on a Power Macintosh 5200/5300/6200/6300 and then record, the gain is not where I set it. What's wrong?

A The gain settings do not take effect until you open the sound input device for recording.

The name SPBOpenDevice is a misnomer -- it does not actually open the device, it merely returns which device to open when you begin recording. The recording calls actually open the device, allowing changes in the gain settings to be made.

The one other call that will open the device is the SPBSetDeviceInfo call with the siLevelMeterOnOff selector set to on. Making this call will open the device and begin recording (but not saving data), so that the gain settings will take effect. You can now begin the real recording, with the gain set to the desired level.

[Jun 01 1996]

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.