Audio Device Driver
Audio Device Driver
- Subject: Audio Device Driver
- From: John Johnson <email@hidden>
- Date: Mon, 19 Apr 2010 16:19:26 -0500
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