[mythtv] [PATCH] Alsa audio sync and other fixes for latest big audio update

David George david at thegeorges.us
Fri Nov 5 19:39:52 UTC 2004


On 11/5/2004 1:25 PM, Ed Wildgoose wrote:

>
>> Some soundcards (mostly the emu10k1 based soundblasters, iirc) have 
>> _huge_ buffers - up to a couple seconds.  With the 
>> 'audio_buffer_unused' stuff, it tries keeping the buffer size down a 
>> bit to improve performance during those times where we wait for the 
>> buffers to drain (channel/input changes, mainly).
>>  
>>
>
> Hmm, OK, that makes much more sense.  I can't see that it is on a 
> switch though (eg aggresive buffer settings) like David suggested?

It seems to now be at line 98 of audiooutputbase.cpp

    if (!gContext->GetNumSetting("AggressiveSoundcardBuffer", 0))
        audio_buffer_unused = 0;

--
David


More information about the mythtv-dev mailing list