Re: mic or line input selection?
Re: mic or line input selection?
- Subject: Re: mic or line input selection?
- From: Gary Scavone <email@hidden>
- Date: Fri, 6 Sep 2002 09:25:13 -0700 (PDT)
Hi Mark,
The Sound Prefs on my titanium (OS 10.1.5) have no controls for
selecting the default input device. The allow me to select the output
device only. Please let me know if there is some "secret" panel or
something I am missing here. Thanks.
--gary
On Fri, 6 Sep 2002, Mark Cookson wrote:
>
>The Sound Prefs panel is a sub-panel in the System Preferences
>
>application. You can launch the System Preferences application via
>
>it's menu entry under the "Apple" menu (the farthest left menu).
>
>
>
>The Sound Prefs setting is what the user has set as the global default
>
>input device, which may or may not make sense as an input source in
>
>your application.
>
>
>
>It's probably best that you have some UI for choosing the input source
>
>in your application because requiring the user to make a global change,
>
>which is what Sound Prefs does, to their configuration just for your
>
>application is generally not encouraged. Multiple applications can be
>
>recording simultaneously, and therefore changing the global input
>
>device for just one application is problematic. If all applications
>
>present their own interface for choosing the input source used in their
>
>application then there are no conflicts between applications and input
>
>sources.
>
>
>
>If you always want to record from the default input source, that's
>
>fine, but if you might like more options in where your users record
>
>from, I strongly recommend that you have your own interface to allow
>
>them to select the input source. Daisy has sample code showing how you
>
>can change input sources.
>
>
>
>Regards,
>
>Mark
>
>
>
>On Thursday, September 5, 2002, at 08:21 PM, Gary Scavone wrote:
>
>
>
>> Hi Jeff,
>
>>
>
>> Thanks for the info. Actually, I'd prefer that there be an external
>
>> app (gui) to make that setting ... it doesn't belong in my code. But
>
>> I have no idea where the "Sound Prefs panel" is under OS-X. I don't
>
>> see any sort of control panel type thing in OS-X 10.1 (I know that
>
>> there is such in OS 9). I was told by Apple support that there would
>
>> be such a thing in OS X 10.2, but I just bought this computer
>
>> (delivered in early July) and I don't have the cash to fork out for an
>
>> upgrade that I think should have come with the machine (especially for
>
>> a developer!).
>
>>
>
>> --gary
>
>>
>
>> On Thu, 5 Sep 2002, Jeff Moore wrote:
>
>>
>
>>>> The kAudioDevicePropertyDataSource family of properties are what you
>
>>>> want to use with the HAL API to select where the data for a given
>
>>>> device/stream comes from.
>
>>>>
>
>>>> Note that the Sound Prefs panel and Audio MIDI Setup offer GUIs for
>
>>>> this property. The Daisy and DisplayHALDeviceInfo sample code has
>
>>>> code
>
>>>> for getting and setting the values for this property.
>
>>>>
>
>>>> On Thursday, September 5, 2002, at 03:22 PM, Gary Scavone wrote:
>
>>>>
>
>>>>> I have a new titanium, OS-X 10.1, with both a line input on the back
>
>>>>> and an internal microphone. Is there a way provided by the
>
>>>>> CoreAudio
>
>>>>> API to select the input source? At the moment, it only uses the
>
>>>>> line
>
>>>>> input on the back.
>
>> _______________________________________________
>
>> 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.
>
>>
>
>>
>
>
--
-------------------------------------------------
Gary Scavone
Center for Computer Research in Music & Acoustics
Stanford University
email@hidden
http://www-ccrma.stanford.edu/~gary/
-------------------------------------------------
_______________________________________________
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.