• 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: Minimizing input/output latency ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Minimizing input/output latency ?


  • Subject: Re: Minimizing input/output latency ?
  • From: William Stewart <email@hidden>
  • Date: Tue, 19 Apr 2005 14:13:36 -0700


On 19/04/2005, at 1:55 PM, Stéphane LETZ wrote:
On 19 avr. 05, at 21:45, William Stewart wrote:
On 19/04/2005, at 11:45 AM, Stéphane Letz wrote:
Le 19 avr. 05, à 20:10, William Stewart a écrit :
<deleted blah blah blah> ;-)



Thanks a lot Bill, I think this is exactly what I needed...

In my case where an IO callback uses the output buffer computed at the *previous* cycle, i have an almost constant and low IO processing cost, something like:

- read Input buffers
- do some minimal processing (that I can guaranty to be time bounded in my application because actual processing is done in another thread)
- write output buffers from the previous cycle.


Thus I should be able to use an I/OUsage value that almost exactly represent what percentage of the IO cycle my application cycle represent, in this case a *low* I/OUsage and it should gain almost one entire buffer size latency...

Is this correct?


Yes, exactly.


Thanks.

Can this I/OUsage property be set while the device is running or only before starting it?

Should be whilst its not running I think but it will take on a running device - if its running you will get a discontinuity of course because you are shifting the time when output will be "played"


Are we allowed to ask specific questions on Tiger now  ((-:  ?


of course not

Bill

Since you were speaking about Tiger new stuff I was hoping we could also...

:-) bad attempt at humour (won't give up my day job)... Sure, ask away. If we have to wait for some reason, I'll let you know... Always better to let us do the censoring than to censor yourself I think


Bill

--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
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: 
 >Minimizing input/output latency ? (From: Stéphane Letz <email@hidden>)
 >Re: Minimizing input/output latency ? (From: David Duncan <email@hidden>)
 >Re: Minimizing input/output latency ? (From: William Stewart <email@hidden>)
 >Re: Minimizing input/output latency ? (From: Stéphane Letz <email@hidden>)
 >Re: Minimizing input/output latency ? (From: William Stewart <email@hidden>)

  • Prev by Date: Re: Minimizing input/output latency ?
  • Next by Date: Important Audio Formtas [Was: CFBundleDocumentTypes with audio that QT can play]
  • Previous by thread: Re: Minimizing input/output latency ?
  • Next by thread: timestamping in AUHal renderer
  • Index(es):
    • Date
    • Thread