[mythtv-commits] Ticket #4764: alsa buffer problem introduced in 15893

MythTV mythtv at cvs.mythtv.org
Tue Mar 11 00:21:28 UTC 2008


#4764: alsa buffer problem introduced in 15893
--------------------+-------------------------------------------------------
 Reporter:  manwe   |        Owner:  ijr 
     Type:  defect  |       Status:  new 
 Priority:  minor   |    Milestone:  0.22
Component:  mythtv  |      Version:  head
 Severity:  medium  |   Resolution:      
  Mlocked:  0       |  
--------------------+-------------------------------------------------------

Comment(by markspieth):

 did some investigating over the weekend and I think I have a better handle
 on things.
 One of my updates cvhanged my deinterlacing settings to greedy (on a TV!)
 and stopped things from working on my xbox. took me a while to solve that
 but I did find that fragment and periodtime and buffertime dont have to be
 related.

 so the solution is to choose fragment as 6144 for 2ch (scaled for 6ch)
 periodtime as something low (I chose 25ms) and buffer time something large
 enough.
 From other posts I chose 16*25 which will generally alloc all of the 64K
 that (my) alsa uses as max.

 2 patches are attached as mythmusic was impacted as well. The 2sec limit
 on AddSample has been removed as it seemed to impact some things and a
 separate interface and test was put in mythmusic. benefits are that mm
 changes faster as the limit has been set at 500ms and videos can have a
 bigger audiosync adjustment.

 please test and see if it works in the various modes (esp. spdif)

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4764#comment:16>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list