Paul, thanks a lot. You pointed me to the right directions, I found the useful 
information. I will record my starting point for history:

Audio Server Plugin (it looks like to be what HiJack installs as Instant On)
https://developer.apple.com/library/mac/samplecode/AudioDriverExamples/Introduction/Intro.html

Audio Hardware Plugin (HAL) (deprecated since 10.8 and looks like it is used by 
HiJack for recording without Instant On installed):
https://developer.apple.com/legacy/library/samplecode/SampleHardwarePlugIn/Introduction/Intro.html

Discussion
http://lists.apple.com/archives/coreaudio-api/2013/Aug/msg00028.html

However I’m in a bit of stuck at the moment. I’ve decided to go with a HAL 
plugin (it won’t be used with sandboxed applications, so it should be OK). I’ve 
managed to compile SampleHardwarePlugIn downloaded from Apple’s website. I’ve 
put it into /Library/Audio/Plug-Ins/HAL. It gets loaded into address space of 
an app that outputs audio and gets initialized. It creates a device, it creates 
streams. And that’s all. HAL requests several properties, like transport, 
hidden, but the execution never reaches functions intended to process audio. 
Neither I see any calls from a system regarding supported audio formats, etc.

Do I understand the purpose of hardware plugins incorrectly? I expect the 
plugin to be loaded and used as an intermediate filter for for any audio device…
Do I need to attach the plugin to a particular physical device somehow?


—
Regards,
Roman
 _______________________________________________
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