AudioDriverKit

RSS for tag

Develop drivers for audio devices using AudioDriverKit.

AudioDriverKit Documentation

Posts under AudioDriverKit tag

4 Posts
Sort by:
Post marked as solved
3 Replies
473 Views
I followed apple's demo application to create an audio server plugin named NullAudio. However, since the code is written in C with some COM interfaces, it is hard for a Swift Programmer. So I want to attach XCode to the Null Audio Plugin to take a look at the method calls. I googled and found the audio server plugin maybe debug in this way: Note the BGMDevice is another audio server plugin they created. So I followed, xcode attaches to coreaudiod process. But any breakpoint in the code just go grey, how can I make the break point active?
Posted Last updated
.
Post not yet marked as solved
1 Replies
271 Views
Hello, I'm trying to test the example code for the AudioDriverKit and the "Open User Client" button returns a kIOReturnNotPermitted error. Using the standard entitlements that come with the example and I'm signing to run locally. SIP is disabled and I'm using systemextensionsctl developer on When the "Open User Client" button is pressed, I see the following calls into the dext: SimpleAudioDriverUserClient::init SimpleAudioDriverUserClient::Start SimpleAudioDriverUserClient::Stop SimpleAudioDriverUserClient::free None return any errors. Seems like this is a permission issue, but since this is just the straight example code, it seems like it should work out-of-the-box. Any clues as to why this is failing? Thank you!
Posted
by PCBuff.
Last updated
.
Post not yet marked as solved
1 Replies
490 Views
Hi, I'm currently port old driver to DriverKit framework. This driver use the properties mechanism to change the state of the device from user space. I would like also use it, but I can not force the call to overridden SetProperties function on driver site. Is it possible that SetProperties will be called when client call IOConnectSetCFProperties on given service? or I have to use the ExternalMethod mechanism. Or I will be possible to pass some dictionary structure which will mimic the SetProperty Call. Thank you for your answer. Best Regards, Andrzej
Posted Last updated
.