ADC Home > Reference Library > Technical Q&As > Audio > Carbon >
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:
|
Q
What is the best way to select a specific sound input source, such as the CD or external
microphone? A Beginning with Mac OS 8.1, the sound input drivers have implemented some new SPBGetDeviceInfo /SPBSetDeviceInfo selectors. Those
new selectors are siOSTypeInputSource 'inpt ' and
siOSTypeInputAvailable 'inav '. They work much like siInputSource and siInputSourceNames , except
that they return an OSType rather than an integer and a list of OSTypes rather than
a list of names, respectively.
Using the If these new selectors are not available, [Jan 16 1998] |
|