AUHAL channel mapping, stream enables, and channel info
AUHAL channel mapping, stream enables, and channel info
- Subject: AUHAL channel mapping, stream enables, and channel info
- From: Kurt Bigler <email@hidden>
- Date: Tue, 02 Nov 2004 18:05:21 -0800
My understanding is that the channel maps provide the method by which HAL
output (and probably input too) stream enables are controlled when using the
AUHAL. The AUHAL will disable all streams for which no channels are mapped.
Please correct me if I'm wrong.
If that's the case, then I also need to have a way to get information about
the channels of an AUHAL. I haven't seen any specific API for querying
about AUHAL channels, so I take it that one must make some assumptions and
query device information directly.
So for example I think the following is true, and again please correct if
needed: If no output channel map is specified, then all the channels of all
the output streams presented by a device are simply concatenated, and
presented in that same order as consecutive channels in the AUHAL.
So in order to disable a certain stream via the AUHAL, I would simply loop
through all the channels of all the streams of the device, and determine
which channels in the sequence belong to the stream I want to disable, and
omit those channels from the channel map. Is that correct?
Thanks in advance.
-Kurt Bigler
_______________________________________________
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