[vlc-devel] [PATCH] decrease alsa buffer size

Benjamin Drung bdrung at ubuntu.com
Fri Aug 13 21:02:12 CEST 2010


Am Freitag, den 13.08.2010, 18:56 +0300 schrieb Rémi Denis-Courmont:
> Le vendredi 13 août 2010 18:48:04 Benjamin Drung, vous avez écrit :
> > Am Freitag, den 13.08.2010, 18:34 +0300 schrieb Rémi Denis-Courmont:
> > > Le vendredi 13 août 2010 18:08:06 Benjamin Drung, vous avez écrit :
> > > > >> Debian/Ubuntu decreases the ALSA buffer size. That improves the
> > > > >> behaviour of the alsa output module on pulseaudio system.  You might
> > > > >> want to do the same.
> > > > > 
> > > > > What's the point considering the native PulseAudio output has a
> > > > > higher priority than the ALSA one?
> > > > 
> > > > The user may not have the PulseAudio output plugin installed
> > > 
> > > Did I misunderstood that Ubuntu always installs PulseAudio? How come then
> > > that the plugin is optional?
> > 
> > PulseAudio is installed by default on Ubuntu, but you can uninstall it.
> > vlc recommends vlc-plugin-pulse -> vlc-plugin-pulse will be installed by
> > default if you install vlc, but you can remove it.
> > 
> > > > or may have changed the configuration.
> > > 
> > > There are hundreds of ways to destroy audio or video rendering with
> > > stupid settings.
> > > 
> > > Anyway, I am not for or against this patch. ALSAlib is so badly
> > > documented that I gave up trying to make any sense of it.
> > 
> > Are there any reasons for not applying this patch except that the user
> > can workaround this bug by using the pulseaudio output?
> 
> Smaller buffers mean more opportunities for starvation, and higher power 
> consumption. We have quite a number of user reports of stuttering audio with 
> ALSA already :(

Ok, I will drop the patch from the package. The user with this issue
have to use the pulseaudio plugin instead.

-- 
Benjamin Drung
Ubuntu Developer (www.ubuntu.com) | Debian Maintainer (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100813/59b5c70c/attachment.sig>


More information about the vlc-devel mailing list