Re: Multiple instances of an Audio Device
Re: Multiple instances of an Audio Device
- Subject: Re: Multiple instances of an Audio Device
- From: Rob Cas <email@hidden>
- Date: Thu, 20 Mar 2003 13:58:21 +1100 (EST)
Hi,
This one's going a while back, but couldn't find any follow-up answers
other than Jeff's 'what you should see' response in the archives.
I'm seeing the same thing as Devendra describes below, where plugging
in two cards (different PCI device IDs handled by different
personalities
within the same kext) results in only one instance of
my audio device being recognized by the HAL. Each card works correctly
on its own, and both share exactly the same audio source code.
Everything seems to have loaded ok: there are two instances of my
audio devices/streams/engines in the appropriate places in
the IORegistry, yet the HAL only recognizes the engines from one of the
devices...
(The unrecognized one does not have any audio user clients in the
registry.)
Interestingly, because one of the devices takes longer to load than the
other
I can actually see the first one in the Sound Preferences pane, but
when
I return after the second device has loaded, there is only the second
device
displayed...
Has anybody else seen this and found a workaround/fix for this?
Thanks in advance,
Rob.
>
>
The HAL creates a device for each IOAudioEngine a given IOAudioDevice
>
has. In your case, I would expect to see a separate IOAudioDevice
(with
>
however many engines your devices have) for each card in the box.
>
>
On Friday, August 23, 2002, at 10:19 PM, Devendra Parakh wrote:
>
>
> Hi,
>
>
>
> We have an audio device driver (kext) for a PCI sound card that
works
>
> fine as long as we have one instance of the device.
>
>
>
> When I plug in two of these cards - two instances of the driver
objects
>
> are created, initialized, etc.. Everything seems to work fine,
except
>
> that the CoreAudio HAL only reports the first instance.
>
>
>
> Can anybody tell me what I need to do to get the second instance
>
> recognized by CoreAudio?
>
>
>
> Thanks.
>
>
>
> Devendra.
>
> Devendra ParakhSinging Electrons,
>
> Inc.http://www.singingelectrons.com425-889-2478
http://mobile.yahoo.com.au - Yahoo! Mobile
- Check & compose your email via SMS on your Telstra or Vodafone mobile.
_______________________________________________
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.