• 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: Injecting audio from user space into a kernel driver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Injecting audio from user space into a kernel driver


  • Subject: Re: Injecting audio from user space into a kernel driver
  • From: Paul Davis <email@hidden>
  • Date: Tue, 03 Sep 2013 11:30:51 -0400

as a first step into the coreaudio API, this is a fairly insane way to begin.

you can search the archives of this list to find a bit of info about this. however, the internal design of CoreAudio has changed substantially in the last several releases of OS X, and the mechanisms for creating a user space device have changed the most of all. you will find that most of the documentation and examples are inaccurate, incomplete and/or out of date. current header files tend to be the only "definitive" place to get answers.

there are open source projects such as JACK that do what you are interested in, at least in part but please plan to respect the licensing used. also, be aware that any particular app that does this typically represents only 1 of several different approaches to the problem.


On Tue, Sep 3, 2013 at 11:20 AM, Nuno Santos <email@hidden> wrote:
Hi there,

I 'm building a solution which purpose it's to create a input device for applications to use however, the sound input doesn't come from an hardware device. The idea is to make it come from an user space audio source.

My first approach was to create a kernel driver based on the SimpleAudioDriver with one stereo input source only.

I have already a kernel extension creating the device driver and the applications can actually see it.

My question now is, how is the proper way of injecting audio onto this device driver from user space, in order to keep latency as low as possible?

I thought that it might be possible to create a user space device driver but i'm not sure of it since its my first step into CoreAudio API's. Is it possible? Or am I making the right choices so far?

Is there any example in particular that I should focus my attention on?

I would definitely love to hear the opinion of experienced users.

Thanks in advance,

With my best regards,

Nuno Santos


_______________________________________________
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

 _______________________________________________
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: Injecting audio from user space into a kernel driver
      • From: Nuno Santos <email@hidden>
References: 
 >Injecting audio from user space into a kernel driver (From: Nuno Santos <email@hidden>)

  • Prev by Date: Injecting audio from user space into a kernel driver
  • Next by Date: Re: Injecting audio from user space into a kernel driver
  • Previous by thread: Injecting audio from user space into a kernel driver
  • Next by thread: Re: Injecting audio from user space into a kernel driver
  • Index(es):
    • Date
    • Thread