[SCM] VLC media player packaging branch, sid, updated. debian/1.0.2-1-3-g7876dfb

Reinhard Tartler siretart at tauware.de
Tue Oct 6 21:10:31 UTC 2009


I'm not exactly sure about this patch. It is rotting in both debbugs and
launchpad, and I seem to have documented that j-b asked me to include
it.

I have to admit that I didn't really test it. Could you please eyeball
it? If you have objections, feel free to remove it at your discretion.

siretart at users.alioth.debian.org writes:

> The following commit has been merged in the sid branch:
> commit 7876dfb9b81cecfcb98527f014bc1418795e7be0
> Author: Reinhard Tartler <siretart at tauware.de>
> Date:   Tue Oct 6 22:59:33 2009 +0200
>
>     decrease alsa buffer size
>     
>     Patch taken from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472811
>     also reported in ubuntu as lp #243152
>
> diff --git a/debian/patches/501_decrease_alsa_buffer.diff b/debian/patches/501_decrease_alsa_buffer.diff
> new file mode 100644
> index 0000000..e4c1383
> --- /dev/null
> +++ b/debian/patches/501_decrease_alsa_buffer.diff
> @@ -0,0 +1,15 @@
> +Patch taken from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472811
> +
> +also reported in ubuntu as lp #243152
> +
> +--- a/modules/audio_output/alsa.c
> ++++ b/modules/audio_output/alsa.c
> +@@ -78,7 +78,7 @@ struct aout_sys_t
> +    number of channel(s) (eg. 2 for stereo) and the size of a sample (eg.
> +    2 for int16_t). */
> + #define ALSA_DEFAULT_PERIOD_SIZE        1024
> +-#define ALSA_DEFAULT_BUFFER_SIZE        ( ALSA_DEFAULT_PERIOD_SIZE << 8 )
> ++#define ALSA_DEFAULT_BUFFER_SIZE        ( ALSA_DEFAULT_PERIOD_SIZE << 4 )
> + #define ALSA_SPDIF_PERIOD_SIZE          A52_FRAME_NB
> + #define ALSA_SPDIF_BUFFER_SIZE          ( ALSA_SPDIF_PERIOD_SIZE << 4 )
> + /* Why << 4 ? --Meuuh */
> diff --git a/debian/patches/series b/debian/patches/series
> index ca5ad3c..5f98ec3 100644
> --- a/debian/patches/series
> +++ b/debian/patches/series
> @@ -5,3 +5,4 @@
>  200_osdmenu_paths.diff
>  300_manpage_syntax.diff
>  401_i420_mmx_pic.diff
> +501_decrease_alsa_buffer.diff

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



More information about the pkg-multimedia-maintainers mailing list