• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Race condition in aggregate device?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Race condition in aggregate device?
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: AudioDeviceStop and ioProc
  • Next by Date: Re: Race condition in aggregate device?
  • Previous by thread: How to make AU plugin compatible with 10.3.9
  • Next by thread: Re: Race condition in aggregate device?
  • Index(es):
    • Date
    • Thread