Re: Audio Device Driver
Re: Audio Device Driver
- Subject: Re: Audio Device Driver
- From: "Paul Sanders" <email@hidden>
- Date: Mon, 19 Apr 2010 22:39:40 +0100
Are you sure you're not reinventing the wheel? Jack can route
both to output devices and from input devices. SoundFlower can
route to output devices but not (AFAICS) from input devices. As
a first step, I would download both of them to see what they can
do. If you need to handle input devices and want to do it at
the kernel level, a way forward might be to extend SoundFlower,
if you are prepared to conform to GPL.
Paul Sanders.
----- Original Message -----
From: "John Johnson" <email@hidden>
To: <email@hidden>
Sent: Monday, April 19, 2010 10:19 PM
Subject: Audio Device Driver
Hello everyone. I originally posted this question in
darwin-drivers, but someone pointed me here, so I will just post
my original question.
I'm developing an audio driver and I have a few questions on how
to go about implementing a few features. For some background,
this driver is meant to be simply a "go-between", i.e. using a
user-level program a user can specify which input or output
devices to use, so then in a program, say Soundtrack Pro, I can
set this virtual device as the sole input/output device, and it
will actually route the input/output to/from the devices that
the user specified in the preferences.
Now the reason I think this is possible is because there's the
open-source project SoundFlower that does a similar thing,
except it routes between applications, as does JackOSX. There
isn't much documentation on driver development using IOKit, but
I am not afraid to RTFM if there's something I've missed. So I'm
thinking that IOAudioPort may be the way to go but there also
looks to be something to getting the other device and calling
open() on it, but I'm not sure where to go from here. I know
that CoreAudio can do these things, but I'm not sure what the
corresponding functions are in IOKit. Any help would be
appreciated.
Ultimately, I need to take the the input on my virtual device to
be in sync with the input from another device, and same with the
output. If there is anyone who can paint just a general overview
of the process, it would greatly help. Just need to be pointed
in the right direction.
Thanks,
John
_______________________________________________
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