• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: recording audio from an application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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)
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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: recording audio from an application
      • From: Roman <email@hidden>
  • Prev by Date: Offline Rendering... still a thing?
  • Next by Date: Re: recording audio from an application
  • Previous by thread: Re: recording audio from an application
  • Next by thread: Re: recording audio from an application
  • Index(es):
    • Date
    • Thread