I find that Core Audio has a problem when devices are added too quickly when 
they are part of an existing aggregate or multi output device - it keeps 
hanging (taking all audio apps with it) and coreaudiod needs to be restarted to 
get it working again. This has been found up to happen to and including OS 
10.9, possibly beyond, e.g. if two USB devices are connected at the same time, 
maybe if sharing the same hub, after a few connection attempts the whole audio 
system freezes. This does not happen if the devices are not part of an 
aggregate or multioutput device.

I have an app which creates audio devices, sometimes several in quick 
succession, and regularly find that coreaudiod needs to be restarted when they 
are part of one or more virtual devices. I am wondering if anyone has found a 
way around this problem.

My main focus on a workaround has been to remove the devices from any aggregate 
or multioutput device they are part of when they are removed, and to re-instate 
them a short time after they have been recreated, all to avoid them being part 
of one at the time of device creation, but even that approach leads to the 
hanging problem sometimes.

Any “real world experience” on how to stop this problem would be much 
appreciated.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to