Re: implementing an AudioHardwarePlugin
Re: implementing an AudioHardwarePlugin
- Subject: Re: implementing an AudioHardwarePlugin
- From: Michael Dautermann <email@hidden>
- Date: Wed, 7 Feb 2007 03:38:21 -0800
On Feb 6, 2007, at 10:02 PM, Michael Dautermann wrote:
I put my CFPlugin into /Library/Audio/Plug-Ins/HAL, gave it the
same permission bits and root:group ownership as the
iSightAudio.plugin, launched HALLab and still did not see any
telltale printfs showing up in the console from my factory function
or QueryInterface function.
Okay. Now I'm responding to myself (in the hopes that this may help
someone else doing implementation down the road).
A few more hours of thumbing through CFPlugin documentation and I got
it figured out. Essentially my problem came down to not having my
factory function's UUID in the array associated with the
kAudioHardwarePlugInTypeID key.
Now while using HALLab, I'm seeing my factory function and initialize
functions being called in the plugin.
If it would help anyone out, maybe once I get this
AudioHardwarePlugin skeleton working, I could post it as a sample
project on my site.
I put a sample plugin project up on my site at <http://
www.cs.wayne.edu/~myke/research/
MichaelsAudioHardwarePluginStarter.dmg.gz>.
My next task is to figure out how to fill out the rest of the
AudioHardwarePlugin API and how to actually make set up and use
AudioStreams.
_______________________________________________
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