Date: Mon, 12 Nov 2007 01:31:30 +0100
From: Lennart Poettering <lennart@poettering.net>
To: Takashi Iwai <tiwai@suse.de>
Subject: Status of ALSA "simple" mixer interface
Message-ID: <20071112003130.GA3266@tango.0pointer.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Organization: Red Hat, Inc.
X-Campaign-1: ()  ASCII Ribbon Campaign
X-Campaign-2: /  Against HTML Email & vCards - Against Microsoft Attachments
User-Agent: Leviathan/19.8.0 [zh] (Cray 3; I; Solaris 4.711; Console)

Hi!

/usr/include/alsa/mixer.h contains this comment:

   /* Simple (legacy) mixer elements API */

What does the "legacy" exactly mean? Shouldn't I be using it in new
code? I am currently looking for some way I can find out which PCM
channel for a stream on something like "surround51:0" maps to which
mixer element. How am I supposed to implement something like this
without stuff like the snd_mixer_selem_channel_id_t?

A second question: 

aplay -L suggest to use "surround71:" (and *only* that) as plugin for my
usb webcam that only has a single mono channel.  What's going wrong?
Any idea where I should be looking?

Thanks,

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4
