• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Recommended way to setup a timer in a CoreAudion application?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: Re: Recommended way to setup a timer in a CoreAudion application?
  • From: Brian Willoughby <email@hidden>
  • Date: Wed, 16 Jan 2008 02:08:52 -0800

Sorry. When you first said "timer to check ... a failure condition," I thought you were going to have a timer continuously running and polling a variable. Didn't realize you were talking about a one-shot event.


On Jan 16, 2008, at 02:01, Stéphane Letz wrote:

Le 16 janv. 08 à 10:58, Brian Willoughby a écrit :
Hmm, perhaps you can set a timer to fire after your "certain amount of time" whenever you are notified of "OFF" and then cancel this timer whenever you receive "ON." This way, the timer will only trigger your failure code if the device stays OFF for a long time, but the whole thing will just be cancelled if the dropout is a few milliseconds.

Exactly, this is the whole idea... ((-:

Stephane Letz

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Recommended way to setup a timer in a CoreAudion application? (From: Stéphane Letz <email@hidden>)
 >Re: Recommended way to setup a timer in a CoreAudion application? (From: Brian Willoughby <email@hidden>)
 >Re: Recommended way to setup a timer in a CoreAudion application? (From: Stéphane Letz <email@hidden>)
 >Re: Recommended way to setup a timer in a CoreAudion application? (From: Brian Willoughby <email@hidden>)
 >Re: Recommended way to setup a timer in a CoreAudion application? (From: Stéphane Letz <email@hidden>)

  • Prev by Date: Re: Recommended way to setup a timer in a CoreAudion application?
  • Next by Date: Re: linear PCM
  • Previous by thread: Re: Recommended way to setup a timer in a CoreAudion application?
  • Next by thread: Re: Recommended way to setup a timer in a CoreAudion application?
  • Index(es):
    • Date
    • Thread