(no subject)
(no subject)
- Subject: (no subject)
- From: Fabian Renn <email@hidden>
- Date: Tue, 9 Aug 2005 23:05:19 +0200
Hello Jeff,
thanks for the in depth answers. Please ignore my last submission. I
by mistake clicked on send button of my submission mail before
checking with list for answers. I guess that helped me a lot now.
Thanks again! :-)
Fabian
Hello Jeff,
thanks for the answer: sounds reasonable to me. But... how am i
suppose to load and save settings. I can't do that with from my
kernel driver, can I?
Greetings
Fabian
P.S: have a look at my ac-3, usb, audio cycle telemetry
question... ;-)
Because the HAL's master process is coreaudiod in Tiger, the HAL
doesn't load any plug-ins in that process. The reason why is that
coreaudiod is run as root and loading plug-ins were deemed a security
risk.
Note that the same goes for user-land drivers (the ones that conform
to <AudioHardware/AudioHardwarePlugIn.h>). They won't be loaded in
coreaudiod.
On Aug 5, 2005, at 4:17 AM, Fabian Renn wrote:
Hello list-members,
i've programmed an audio driver plugin for my kernel driver of a
usb 2.0 audio device. The purpose for the plugin is to save some
custom settings, so i can reload them once the kernel driver is
loaded. In the plugin i use the
kAudioHardwarePropertyProcessIsMaster key to find out if the master
instance has loaded the plugin, and only then do i load and save my
settings. The problem i'm having now is that the master instance
doesn't always load the plugin. Furthermore i can't quite figure
out when it loads it and when not. Seems kind of random to me.
HALLab is telling me that there is a driver plug-in present. And
programs like Audio MIDI Setup and HALLab do load the plugin ( <-
but they are not masters of course ). I should add that i load my
driver with kextload and kextunload ( the driver-plugin path starts
like this '../../../Users/....' <- that seems to work because Audio
MIDI Setupt and others do load my plugin ), and that my device is a
usb device, even though i don't set the usb transport flag yet.
Someone Help?!?!
Greetings
Fabian Renn
_______________________________________________
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