I have a CoreAudio compatible device, but drivers are required in order to 
control the volume and these have been discontinued so I'd like to create a 
basic replacement.

I know what commands I need to send to the device in order to control the 
volume, however I get error messages saying that another process has the device 
open for exclusive access.

I guess that CoreAudio has exclusive control of the device when it is in use 
and I don't see any way to issue USB commands via Core Audio, so I expect the 
only way I can control the volume would be via a kernel extension. Does that 
sounds right?

Perhaps I can use AppleUSBMergeNub and set some options to let Core Audio know 
what USB commands should be used to control the volume? Any pointers greatly 
appreciated as this is all fairly new to me.

Linux support for a similar device is here:

https://github.com/torvalds/linux/blob/642b151f45dd54809ea00ecd3976a56c1ec9b53d/sound/usb/mixer_scarlett.c#L47-L65

Thanks,
Ali
 _______________________________________________
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