[mythtv-users] Error: Try to manually increase audio buffer with: echo 192 | sudo tee /proc/asound/card0/pcm1p/sub0/prealloc

Steven Adeff adeffs.mythtv at gmail.com
Thu Apr 21 02:11:38 UTC 2011


On Wed, Apr 20, 2011 at 2:44 PM, Chris Porter <hoodlum7 at gmail.com> wrote:
> On Wed, Apr 20, 2011 at 9:32 AM, Steven Adeff <adeffs.mythtv at gmail.com>
> wrote:
>> On Mon, Apr 18, 2011 at 11:32 PM, Jean-Yves Avenard <jyavenard at gmail.com>
>> wrote:
>> > On 19 April 2011 13:00, Chris Porter <hoodlum7 at gmail.com> wrote:
>> >
>> >> The user mythfrontend is running as does not have permissions to
>> >> increase
>> >> the audio buffer. I suggest putting the line
>> >>
>> >> echo 192 | sudo tee /proc/asound/card0/pcm1p/sub0/prealloc
>> >>
>> >> into one of your startup scripts.
>> >
>> > Note, that using more than 64kB of audio buffer is only working with a
>> > limited amount of card, mainly Intel and nVidia.
>> >
>> > It you see this error, and audio plays fine, no need to worry.
>> > It's not much of a problem playing stereo audio, or digital AC3/DTS
>> >
>> > However, using LPCM audio or TrueHD/DTS-HD bitstreaming will be an
>> > issue with just the default 64kB
>>
>> this is for an nVidia GT220. what permission changes would I need to
>> make to safely allow the user to adjust it?
>>
>
> you would have to setup sudo to allow the user mythfrontend runs as to make
> the change with out prompting for a password.

startup script it is!

thank you, gentlemen!



-- 
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/index.php/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette -
http://www.mythtv.org/wiki/index.php/Mailing_List_etiquette


More information about the mythtv-users mailing list