Mailing Lists: Apple Mailing Lists

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

performAudioEngineStart vs. startAudioEngine



I am a bit confused about implementing a subclass of an IOAudioEngine...

According to the sample code, my subclass should define performAudioEngineStart(), a virtual method, which will be called when the audio engine is supposed to start.

However, in the online HTML docs, there is no mention of performAudioEngineStart() (though it *is* in the header), but there *is* startAudioEngine() (in the headers *and* the docs). And in the description of startAudioEngine() it says that it "must be overridden by subclass" and that _setState(kAudioEngineRunning) must be called...

Currently, I have a mostly-working driver that uses performAudioEngineStart() but not startAudioEngine(), so apparently the latter is not necessary, though the docs say it is...

Can anyone direct me to some clarification of what's going on here?

Thanks!


-Michael
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
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.