Re: recording audio from an application
Re: recording audio from an application
- Subject: Re: recording audio from an application
- From: Roman <email@hidden>
- Date: Tue, 04 Aug 2015 12:58:58 +0300
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)
Audio Hardware Plugin (HAL) (deprecated since 10.8 and looks like it is used by HiJack for recording without Instant On installed):
Discussion
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden