[mythtv-commits] Ticket #10862: ALSA buffer size (prealloc) increases by 190 each time a recording is watched in mythfrontend.
MythTV
noreply at mythtv.org
Mon Jun 25 23:40:15 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: new
Priority: minor | Milestone: unknown
Component: MythTV - Audio Output | Version: 0.25-fixes
Severity: medium | Keywords: ALSA,
Ticket locked: 0 | prealloc
-----------------------------------------------+---------------------------
The buffer (/proc/asound/card0/pcm0p/sub0/prealloc) is being increased by
190 every time a recorded show is watched. This should only increase when
it is needed.
Output of "grep ALSA *" in /var/logs/mythtv/
mythfrontend.20120625155836.20931.log:2012-06-25 16:08:34.665187 E
[20931/20931] CoreContext audio/audiooutputalsa.cpp:195
(SetPreallocBufferSize) - ALSA: Setting hardware audio buffer size to 320
mythfrontend.20120625155836.20931.log:2012-06-25 16:10:03.684508 E
[20931/20931] CoreContext audio/audiooutputalsa.cpp:195
(SetPreallocBufferSize) - ALSA: Setting hardware audio buffer size to 512
mythfrontend.20120625155836.20931.log:2012-06-25 16:11:15.328751 E
[20931/20931] CoreContext audio/audiooutputalsa.cpp:195
(SetPreallocBufferSize) - ALSA: Setting hardware audio buffer size to 768
mythfrontend.20120625155836.20931.log:2012-06-25 16:11:35.897720 E
[20931/20931] CoreContext audio/audiooutputalsa.cpp:195
(SetPreallocBufferSize) - ALSA: Setting hardware audio buffer size to 1152
mythfrontend.20120625155836.20931.log:2012-06-25 16:11:46.456781 E
[20931/20931] CoreContext audio/audiooutputalsa.cpp:195
(SetPreallocBufferSize) - ALSA: Setting hardware audio buffer size to 1728
------
I change permissions of /proc/asound/card0/pcm0p/sub0/prealloc to 777 in
/etc/rc.local to allow mythfrontend to adjust the buffer when it needs to.
------
./configure --enable-proc-opt --disable-libcec
------
mythfrontend version: fixes/0.25 [v0.25.1-43-g73bc45e]
------
mythfrontend log file is attached.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10862>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list