[haiku-bugs] Re: [Haiku] #7285: BSoundPlayer sends buffers late, with ever-increasing latency

#7285: BSoundPlayer sends buffers late, with ever-increasing latency
------------------------------+-----------------------
   Reporter:  Pete            |      Owner:  axeld
       Type:  bug             |     Status:  new
   Priority:  normal          |  Milestone:  R1
  Component:  Kits/Media Kit  |    Version:  R1/alpha2
 Resolution:                  |   Keywords:
 Blocked By:                  |   Blocking:
Has a Patch:  1               |   Platform:  All
------------------------------+-----------------------

Comment (by Pete):

 Many thanks to Adrien for applying the patch.  However, as luroh has
 found, it doesn't necessarily fix things!  At the bottom, I'm sure the
 problem is those darn 'blackouts' -- I suppose deep in the scheduler
 somewhere -- that can eventually cause the latency of a source to
 increase.  The patch takes care of this in the mixer, but the blackouts
 can also affect the  initial source, so if it's in "increase latency" mode
 the same thing can happen.

 In the audio code that I am writing or have source for (such as Csound)
 I'm currently
 setting the mode to "recording", so even if blackouts occur latency
 doesn't grow.  There are certainly still 'crackles' when there is any
 display activity, but it's tolerable -- at least for casual use.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7285#comment:33>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: