[mythtv-commits] Ticket #10862: ALSA buffer size (prealloc) increases by 190 each time a recording is watched in mythfrontend.

MythTV noreply at mythtv.org
Sat Jul 21 23:58:23 UTC 2012


#10862: ALSA buffer size (prealloc) increases by 190 each time a recording is
watched in mythfrontend.
-------------------------------------------+----------------------------
 Reporter:  Michael Williams <mikeww2k@…>  |          Owner:  jyavenard
     Type:  Bug Report - General           |         Status:  closed
 Priority:  minor                          |      Milestone:  unknown
Component:  MythTV - Audio Output          |        Version:  0.25-fixes
 Severity:  medium                         |     Resolution:  Won't Fix
 Keywords:  ALSA, prealloc                 |  Ticket locked:  0
-------------------------------------------+----------------------------

Comment (by jyavenard):

 The issue here is an ALSA one, it's something you need to file with ALSA.

 The way the buffer calculation work is: we ask alsa for 500ms, it replies
 with a 400ms one.

 We look at the size of the audio buffer, see that it is set to XXX, so we
 assume it needs XXX + 400/500 * XXX to make up for the difference.

 The problem here is alsa always returning a smaller buffer than asked no
 matter the value of the audio buffer…

 You can't see the value returned by ALSA because you don't have the proper
 verbosity level.

 But as it seems you know better, I'll let you fix that one.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10862#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list