SPBGetIndexedDevice
short count; a device index number
Str255 deviceName; the name of the sound input device Handle * deviceIconHandle; a handle to memory contianing an icon whose index is specified in the count parameter.
count a device index number. Your application can create a list of sound
input devices by calling this function with a count starting at 1 and
incrementing until the function returns siBadSoundInDevice.
deviceName specifies this device's name. On completion, the deviceName
parameter contains a string that is the name of the device
deviceIconHandle is a handle to a block of memory in your application's heap
allocates this memory for you, but it is your responsibility to
dispose of that handle when you are finished with it
noErr (0) No error
siBadSoundInDevice (-221) Invalid sound input device