[pulseaudio-discuss] Stuttering sound with SDL apps
Colin Guthrie
gmane at colin.guthr.ie
Tue Mar 4 01:36:33 PST 2008
CJ van den Berg wrote:
> I don't know about SDL, but ALSA definitely has the same problem on
> Debian. It seems, from reading the plug-in code, that the ALSA plug-in
> drops the connection on every buffer under run. I don't know what the
> purpose of that is supposed to be. It doesn't make much sense to me.
>
> As a workaround, you can raise the minimum period size in the ALSA
> plug-in. That prevents the stuttering in Skype and Ekiga, but doesn't
> really fix the problem. It only makes it less likely.
>
> The strange thing is though that Skype still creates thousands of
> connections even with a larger period size (and no stuttering), so there
> must be other reasons for the plug-in to drop the connection too, or I'm
> missing something somewhere. Hmm, come to think of it, perhaps I only
> raised the period size for the sink and not the source...
Thanks for the info CJ, I'll maybe have to learn some slightly in depth
pulse/sound stuff at some point and actually look into the API calls in
SDL and see if I can come up with a little patch for it.
Col
More information about the pulseaudio-discuss
mailing list