[pulseaudio-discuss] [PATCH] Change the default fragment size to 5 ms
Arun Raghavan
arun at accosted.net
Thu Oct 23 10:27:18 PDT 2014
On 23 October 2014 22:46, Alexander E. Patrakov <patrakov at gmail.com> wrote:
> 22.10.2014 22:21, I wrote:
>>
>> Of course, this only applies to ALSA devices that can't use tsched, as
>> well as to OSS on more exotic platforms.
>>
>> This is needed for compatibility with Wine games that use DirectSound8
>> on distributions such as Arch Linux who don't accept the unofficial
>> winepulse patch. The reason is that Wine DirectSound8 emulation requests
>> a period of 10 ms and expects it to work for the purposes of timing. And
>> in fact, it cannot know (via ALSA API) that it is not going to work!
>
>
> I hereby withdraw the patch, as on IRC I see that Arun said:
>
> """
> I'm not too happy with changing that. It would affect CPU on systems that
> don't care about Wine.
> and I really really don't want to work around bad clients in PA. (despite
> the fact that I am also bitten by this bug)
> ...
> Want to start a BrokenClients page?
> """
>
> (note: due to the "cannot know" reason, I still disagree that it is a
> client-side problem)
I've not looked at the Wine code for this, but I wonder if we can
guess this by looking at the minreq/tlength values that are returned.
-- Arun
More information about the pulseaudio-discuss
mailing list