How to use the SampleAudioDriver
How to use the SampleAudioDriver
- Subject: How to use the SampleAudioDriver
- From: James Udo Ludtke <email@hidden>
- Date: Tue, 30 Dec 2008 21:37:36 -0500
I posted earlier as "Using the default output as an input to an audio
unit." After trying alternate approaches, which have their
shortcomings, I am now ready to take the advise that creating a driver
may be the best answer.
I studied the SampleAudioDriver project, which can be compiled into 2
targets: Target 1 is "SampleAudioDriver.kext"; target 2 is
"libAudioFloatLib".
I can compile both targets without errors Unfortunately, the
SampleAudioDriver project has no ReadMe file. So, how do I test and
use the "SampleAudioDriver" and the "libAudioFloatLib.a" which I
compiled?
I have searched Apple documentation and the Internet without coming up
with any useful information on how to use custom kexts or ".a" library
files. I need to call the driver from within my code, and I like to
install the driver or library as part of my application installation--
hopefully without an installer--I think drag and drop installation is
much more user friendly.
Anyhow, to get started, I need to learn:
1. Where is a custom kext best used. Where is a custom library best
used.
2. Reading the source code, how can I tell the method and arguments,
which must be used (from within my code) to access the kext or library.
3. From any example code (preferred) or documentation, how to use a
kext or library, including where the call format can be found in the
source file of the kext code.
Where should I look?
James
_______________________________________________
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