Re: Device/Source woeness...
Re: Device/Source woeness...
- Subject: Re: Device/Source woeness...
- From: Jeff Moore <email@hidden>
- Date: Thu, 07 Feb 2002 11:46:04 -0800
on 2/6/02 8:20 PM, David DeHaven <email@hidden> wrote:
>
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.
>
Also, is it possible that the audio stream list could change if the
>
data source changes? If so, I'll need to totally rethink parts of my
>
code... for now, I'll assume it does.
If the stream list changes for a device, you will get a notification on
kAudioDevicePropertyStreams. It is possible that this can occur as a result
of a change to a data source control.
--
Jeff Moore
Core Audio
Apple
_______________________________________________
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.