Package: python-alsaaudio
Version: 0.5+svn36-1+b1
Severity: normal

The mixer interface only allows to specify the alsa device by an integer
index, which is then translated into a device name by means of
translate_cardidx(), ie.  as follows:

    sprintf(name, "hw:%d", idx);

Both the global mixers() function and the Mixer() constructor do this.
But *not* all alsa devices that provide mixers are named hw:N.  In
particular, software devices implemented by plugins can be named
anything they like.  See for instance

http://www.thedigitalmachine.net/alsaequal.html 

(the one I'm trying to control).

IMO, mixers() and Mixer() should allow a string to be passed in as an
alternative form of the argument and in that case it should be used
directly as the card name, bypassing the translation.

-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.36.3git (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-alsaaudio depends on:
ii  libasound2              1.0.23-2.1       shared library for ALSA applicatio
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  python                  2.6.6-3+squeeze5 interactive high-level object-orie
ii  python-support          1.0.10           automated rebuilding support for P

Versions of packages python-alsaaudio recommends:
ii  libjs-jquery                  1.4.2-2    JavaScript library for dynamic web

python-alsaaudio suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to