SPBSetDeviceInfo
long inRefNum; a valid reference number for a sound input device
OSType infoType; information type Ptr infoData; a pointer to the appropriate data the inRefNum parameter.
inRefNum a valid reference number for a sound input device
infoType is a selector that specifies the type of information you want to set.
infoData is an address to the appropriate data
noErr (0) No error
permErr (-54) Attempt to open locked file for writing
siBadSoundInDevice (-221) Invalid sound input device
siDeviceBusyErr (-227) Sound input device is busy
siUnknownInfoType (-231) Unknown type of information
Notes: A number of selectors are defined by Apple (listed in the section entitled
Third-party devices can support additional selectors to allow applications to
control special features available on that hardware.