Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IOAudioEngine is not being freed upon unplug of USB device



When I unplug my USB device, my driver is being cleaned up properly, but the
IOAudioEngine it creates is left hanging around with a retain count of 5.
It is never freed.

IOAudioEngine::stop() is being called.  All the user clients (e.g. Controls
and IOAudioEngineUserClient) are being terminated and freed.

The retain counting in the driver is correct - its modeled after the
SamplePCIAudioDriver.  There's no obvious problem in the driver.

It feels like HAL or someone else in user land is retaining the
IOAudioEngine and not releasing it.

Is there anything special you have to do to tell HAL a device has gone away?
Has anyone else seen this before?

Thanks!

Cameron Jones
Salem Technology Associates

-- 
Cameron W. Jones
** Please help reduce Internet Junk Email     **
** by keeping this email address confidential **
**                Thank You!                  **
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.