Mailing Lists: Apple Mailing Lists

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

newbie question: activateAudioEngine failure consequences



Apologies if members see this post twice, but I had sent my question a day
ago, and it never reached the list.

Hello. I'm a complete newbie to coreaudio, and I have a simple question,
whose answer I cannot find in the documentation. Perhaps it's very basic.
When a call of activateAudioEngine fails, what action beyond a call to
release() is necessary? I'm finding that I cannot unload my driver after
this occurrence, because myAudioEngine->free() is never called (although my
audio device is freed). I'm not sure that I have a right to call a double
release(), or the system may panic. The simple PCI audio driver sample does
not check the return value of activateAudioEngine.

Does anyone have an answer to this?

thanks,

Philip Lukidis
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden



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.