Race condition in aggregate device?
Race condition in aggregate device?
- Subject: Race condition in aggregate device?
- From: "Christoph Teschner" <email@hidden>
- Date: Wed, 24 May 2006 20:45:42 +0200
Hi,
I'm successfully creating an aggregate device that consists of the built-in
and a the M-Audio FireWire 410 Multichannel.
I'm not getting any error messages and it appears just as expected in AMS.
I'm programmatically creating the aggregate device upon application launch.
now, when I try to use this
the newly created device, it only works in about 40% of all cases, from
which I assume that there might be an internal race condition
when creating the aggregate device. if in subsequent app launches I try to
use the exact same device it always works without any problems.
I've tried any possible combination of inserting usleep()s in the creation
of my aggregate device and in the setup of the AUGraph.
but the behavior still appears random to me, in the sense that sometimes I
can use the created device right away and sometimes
no audio data is being processed (unless I use the device in subsequent app
launches).
any help would be greaty appreciated.
thanks,
Christoph
_______________________________________________
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