Package: audacious-plugins Version: 2.3-2 Severity: important Tags: upstream patch
After package upgrade to version 2.3, alsa output plugin fails with an error about invalid value in snd_pcm_hw_params_set_buffer_time_min. It fails in my motherboard sound card Nvidia MCP78, which is handled by snd_hda_intel I know it fails in an older PC with SI7012, using snd-intel8x0 Seems that the latest alsa.c has a minimun buffer size of 100 milliseconds and it fail in my sound card. I have tested values from 5 to 85 ms, and with these values the plugin works OK. I have it now working with 10 ms with no problem. I don't know the reason to have a bigger value and I have not tested in other boards. I think that if this value must be bigger in some cards and in others it must be smaller it should be selectable by the plugin preferences program. Or perhaps should be dependant on the hardware if it can be obtained from the alsa libraries. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.33.4 (SMP w/4 CPU cores; PREEMPT) Locale: LANG=eu_ES.UTF-8, LC_CTYPE=eu_ES.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages audacious-plugins depends on: ii libasound2 1.0.23-1 shared library for ALSA applicatio ii libatk1.0-0 1.30.0-1 The ATK accessibility toolkit ii libaudcore1 2.3-2 audacious core engine library ii libaudid3tag2 2.3-2 audacious id3 tag manipulation lib ii libavcodec52 5:0.6~svn20100603-0.0 library to encode decode multimedi ii libavformat52 5:0.6~svn20100603-0.0 ffmpeg file format library ii libavutil49 4:0.5.2-1 ffmpeg utility library ii libbinio1ldbl 1.4-14 Binary I/O stream class library ii libc6 2.11.1-3 Embedded GNU C Library: Shared lib ii libcairo2 1.8.10-4 The Cairo 2D vector graphics libra ii libcddb2 1.3.2-2 library to access CDDB data - runt ii libcdio-cdda0 0.81-4 library to read and control digita ii libcdio10 0.81-4 library to read and control CD-ROM ii libcue1 1.4.0-1 CUE Sheet Parser Library ii libdbus-1-3 1.2.24-1 simple interprocess messaging syst ii libdbus-glib-1-2 0.86-1 simple interprocess messaging syst ii libesd0 0.2.41-7 Enlightened Sound Daemon - Shared ii libfaad2 2.7-4 freeware Advanced Audio Decoder - ii libflac8 1.2.1-2+b1 Free Lossless Audio Codec - runtim ii libfluidsynth1 1.1.1-4 Real-time MIDI software synthesize ii libfontconfig1 2.8.0-2.1 generic font configuration library ii libfreetype6 2.3.11-1 FreeType 2 font engine, shared lib ii libgcc1 1:4.4.4-4 GCC support library ii libglib2.0-0 2.24.1-1 The GLib library of C routines ii libgtk2.0-0 2.20.1-1 The GTK+ graphical user interface ii libjack0 1.9.5~dfsg-13 JACK Audio Connection Kit (librari ii liblircclient0 0.8.3-5 infra-red remote control support - ii libmad0 0.15.1b-5 MPEG audio decoder library ii libmcs1 0.7.1-1 Abstraction library to store confi ii libmms0 0.6-1 MMS stream protocol library - shar ii libmowgli1 0.6.1-1 a high performance development fra ii libmtp8 1.0.3-1 Media Transfer Protocol (MTP) libr ii libneon27-gnutls 0.29.3-2 An HTTP and WebDAV client library ii libogg0 1.2.0~dfsg-1 Ogg bitstream library ii libpango1.0-0 1.28.0-1 Layout and rendering of internatio ii libpulse0 0.9.21-1.2 PulseAudio client libraries ii libresid-builder0c 2.1.1-8 SID chip emulation class based on ii libsamplerate0 0.1.7-3 Audio sample rate conversion libra ii libsdl1.2debian 1.2.14-6 Simple DirectMedia Layer ii libshout3 2.2.2-5+b1 MP3/Ogg Vorbis broadcast streaming ii libsidplay2 2.1.1-8 SID (MOS 6581) emulation library ii libsndfile1 1.0.21-2 Library for reading/writing audio ii libstdc++6 4.4.4-4 The GNU Standard C++ Library v3 ii libusb-0.1-4 2:0.1.12-15 userspace USB programming library ii libvorbis0a 1.3.1-1 The Vorbis General Audio Compressi ii libvorbisenc2 1.3.1-1 The Vorbis General Audio Compressi ii libvorbisfile3 1.3.1-1 The Vorbis General Audio Compressi ii libwavpack1 4.60.1-1 an audio codec (lossy and lossless ii libx11-6 2:1.3.3-3 X11 client-side library ii libxcomposite1 1:0.4.1-1 X11 Composite extension library ii libxfixes3 1:4.0.4-2 X11 miscellaneous 'fixes' extensio ii libxml2 2.7.7.dfsg-2 GNOME XML library ii libxrender1 1:0.9.5-2 X Rendering Extension client libra ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime Versions of packages audacious-plugins recommends: ii audacious 2.3-2 small and fast audio player which audacious-plugins suggests no packages. -- no debconf information
--- alsa.c.orig 2010-06-11 23:23:51.000000000 +0200 +++ alsa.c 2010-06-11 23:24:20.000000000 +0200 @@ -19,7 +19,7 @@ #include "alsa.h" -#define LEAST_BUFFER 100 /* milliseconds */ +#define LEAST_BUFFER 10 /* milliseconds */ GMutex * alsa_mutex; static snd_pcm_t * alsa_handle;

