Mailing Lists: Apple Mailing Lists

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

Re: Recommended way to setup a timer in a CoreAudion application?



My first reaction is that you should not need to set up a timer to poll for an audio failure condition. It seems like you could register a callback for a notification when the audio driver stops running. If you're writing a custom driver, then perhaps you should send such a notification.

Brian Willoughby
Sound Consulting


On Jan 16, 2008, at 01:33, Stéphane Letz wrote:
In my CoreAudio based application, I need to setup a timer to check that a failure condition has been triggered (like the underlying driver is not more running). I tried to play with CFRunLoopTimerCreate, CFRunLoopAddTimer API without much success up to now. Is there a recommended way to do that?


_______________________________________________
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
References: 
 >Recommended way to setup a timer in a CoreAudion application? (From: Stéphane Letz <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.