Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Lennart Poettering <mznyfn@0pointer.de>
To: ALSA Development Mailing List <alsa-devel@alsa-project.org>
Subject: Only one element for multichannel mixer controls please!
Date: Sat, 25 Oct 2008 01:49:33 +0200	[thread overview]
Message-ID: <20081024234932.GA17812@tango.0pointer.de> (raw)

Heya!

It seems that quite a few ALSA drivers for multichannel sound cards
export three seperate stereo mixer controls to control front, rear and
center/lfe independantly. That sucks because a client (such as
PulseAudio) cannot make use of this. Instead they should export a
single 6ch mixer control!

The "amixer scontents" output looks very strange for these drivers
since it lists a "Rear" control that as a "Front Left" and a "Front
Right" channel. So, what is it now: front or rear?

Is there any reason for this current driver behaviour? I mean, the
mixer knows channel ids like SND_MIXER_SCHN_REAR_LEFT perfectly
well. Or is it that those devices have some devices joined and this
cannot be expressd with a single boolean "joined" for each
control?

Please enlighten me!

Lennart

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

             reply	other threads:[~2008-10-24 23:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-24 23:49 Lennart Poettering [this message]
2008-10-27  8:19 ` Only one element for multichannel mixer controls please! Takashi Iwai
2008-10-27  8:53   ` Jaroslav Kysela
2008-10-27  9:09     ` Takashi Iwai
2008-10-27  9:20       ` Jaroslav Kysela
2008-10-27  9:46         ` Takashi Iwai
2008-10-27 10:12           ` Jaroslav Kysela
2008-10-27 10:48             ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081024234932.GA17812@tango.0pointer.de \
    --to=mznyfn@0pointer.de \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox