Re: Unloading a sound driver
Re: Unloading a sound driver
- Subject: Re: Unloading a sound driver
- From: "B.J. Buchalter" <email@hidden>
- Date: Tue, 21 Jan 2003 18:43:26 -0500
on 1/21/03 6:20 PM, Robert Penland at email@hidden wrote:
>
I read in a thread on this list back in June of 2002 that there was a bug in
>
place that wouldn't allow an audio driver to be unloaded because the system
>
was keeping an extra instance of the audio engine around. Has this issue
>
been addressed in any of the newer OS releases? I still seem to see a
>
problem some of the time. If I play a sound that is directed to my audio
>
driver, then even after it is over, the kextunload will fail, saying there
>
is an instance of my audio engine still open. If, however, I don't play a
>
sound after booting it will allow me to kextunload the driver. Is there a
>
prescribed method for getting a sound driver into a state that will allow it
>
to be kextunloaded?
In my experience, with current Mac OS X (ca 10.2 or 10.2.1), you can
kextunload your driver successfully. Even if apps are currently using it.
You *may*, in some instances, have to run kextunload twice in a row (once
gives an error, and the second time actually unloads the thing). Also, if
you have apps that are actively looking at the device (e.g. Audio/MIDI
Setup), they may crash [again, not always, but some times]. But even if they
do, all you have to do is relaunch. So, basically, it is not seamless yet,
but it is close enough to get work done.....
Best regards,
B.J. Buchalter
Metric Halo
M/S 601 - Building 8
Castle Point Campus
Castle Point, NY 12511-0601 USA
tel +1 845 831-8600
fax +1 603 250-2451
If you haven't heard ChannelStrip yet, you don't know what you're missing!
Check out SpectraFoo, ChannelStrip and Mobile I/O at
http://www.mhlabs.com/
Download a 12 day demo from <
http://www.mhlabs.com/demo/>
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.