HAL Plugin mixing streams from multiple processes
HAL Plugin mixing streams from multiple processes
- Subject: HAL Plugin mixing streams from multiple processes
- From: Kieran Tyrrell <email@hidden>
- Date: Mon, 23 Aug 2010 21:24:59 +0200
Hi folks,
I'm writing a HAL plugin (based on the SampleHardwarePlugin example) and everything works great until I play audio through the device from multiple processes.
I think I misunderstood something fundamental about how the HAL devices work. I'd assumed that there was only ever one instance of the Device, and that multiple clients would appear as multiple IOProcs in the IOProcList. This is not the case, if I open iTunes and AULab for example, I get two Device instances created, each with one IOProc.
What's the recommended way of dealing with handling multiple clients (processes) within a single Device? Should I be basing the driver on a .kext model instead? (AudioReflectorDriver?)
Cheers,
Kieran.
_______________________________________________
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