Re: Proper API for selecting devices
Re: Proper API for selecting devices
- Subject: Re: Proper API for selecting devices
- From: "Roni Music" <email@hidden>
- Date: Mon, 22 Nov 2004 15:53:20 +0100
Hi,
----- Original Message -----
From: "Brian Willoughby" <email@hidden>
To: "Rolf Nilsson" <email@hidden>
Cc: <email@hidden>; <email@hidden>
Sent: Friday, November 19, 2004 10:46 PM
Subject: Re: Proper API for selecting devices
> [ On computers that have a built in microphone only this device is found,
> [ not the physical line-input. At least this is what users reports.
> [
> [ So how should we detect all devices?
>
> AFAIK, the microphone and line-inputs *are the same device*
> i.e. you cannot connect to the line-input without interrupting any
> applications which might be using the microphone. For that reason, it is often
> better to let the user configure the Built-in audio device using the System
> Preferences Sound Panel, and select among the inputs (data sources) there.
that's how I used to do but thougth it would be cool to have the user being able to select from within the software
Didn't turn out to be that easy ;-)
>
> The purpose of the HAL is to present the hardware exactly as it is. If the
> microphone and line-input were truly distinct and independent devices, then
> they would be listed separately. If you want to present things differently,
> then that is up to your application code.
Yes, I understand thing better now but without having the right hardware it's like programming in the dark.
I think I will go back to having the user select things in the system preferences
For a simple application as mine that should be OK
Thanks for responding
Rolf NIlsson
>
> Brian Willoughby
> Sound Consulting
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden