Re: Device/Source woeness...
Re: Device/Source woeness...
- Subject: Re: Device/Source woeness...
- From: David DeHaven <email@hidden>
- Date: Thu, 7 Feb 2002 16:43:48 -0600
Am I correct in assuming that the device channel 0 (for input in my
case) should be used to obtain the data source list? I'm gleening
this info from the overwhelming Daisy sources...
The data source control on device channel 0 would be a master control for
the device. Some hardware has it set up this way and some doesn't.
The data source control can also be attached to a particular stream which
you can access through an AudioStream routine (or through a device channel
that is attached to that stream).
Note that not all the built-in hardware actually have data source controls.
For instance, my TiPB has a master data source control for input, but my G4
Tower has no data source controls at all.
It would seem my only solution is to assume that if a device doesn't
have a data source control on it's master channel, then there is no
data source control at all. I don't see any method of implementing a
UI that isn't overly complicated that would allow a user access to
devices that implement data source control on streams or explicit
channels, especially given the dynamic nature of streams. I want two
controls, one to select a device, another to select the audio source
(like the SequenceGrabber setting dialog for an audio channel).
Fortunately, this seems to cover all Apple hardware I've seen to
date, and the Griffin iMic.
-DrD-
_______________________________________________
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.