Implementing IOAudioDevice
Implementing IOAudioDevice
- Subject: Implementing IOAudioDevice
- From: Dirk Musfeldt <email@hidden>
- Date: Tue, 17 Sep 2002 08:16:12 +0200
Hi all,
I'm doing an IOAudioDevice driver and have trouble to get the driver freed
when I call kextunload because there is always one instance of my
IOAudioEngine subclass.
I create my IOAudioEngine from the IOAudioDevice::initHardware() function
but don't release it immediately since I call some functions from the
IOAudioDevice subclass.
I try to release the IOAudioEngine from IOAudioDevice::stop() but the
reference is retained somewhere in the system software so that the
retainCount() is still 3 at this point.
I don't call audioEngine->retain() anywhere in the code.
Any ideas anybody?
With kind regards
Dirk Musfeldt
Meilenstein Mac OS Software
Neue Strasse 5
D-31582 Nienburg
Germany
Tel: +49 (0) 5021 91 24 44
Fax: +49 (0) 5021 91 24 45
<
http://www.meilenstein.de/>
_______________________________________________
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.