All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: [RFC] Channel mapping API
Date: Tue, 21 Aug 2012 15:12:36 +0100	[thread overview]
Message-ID: <20120821141236.GL7995@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <s5hwr0s1gnr.wl%tiwai@suse.de>


[-- Attachment #1.1: Type: text/plain, Size: 817 bytes --]

On Tue, Aug 21, 2012 at 04:08:40PM +0200, Takashi Iwai wrote:
> Mark Brown wrote:

> > Currently only named channel maps are supported.  It'd be nice to also
> > support just plain numbered channels, or at least provide a way to say
> > to userspace that it needs to do something like chase through a routing
> > map to figure out where each channel goes (as opposed to assuming that
> > the driver doesn't know what to report).  

> The channel map value are basically arbitrary 32bit integer, so we can
> define something like:
> 	#define SND_CHMAP_NUMBERED	0x10000
> and pass the channel number with this bit flag.
> Then it becomes a matter of definition of chmap values.

Yes, I think something like this where we've got the map values split
into a type and a value would address things simply.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2012-08-21 14:12 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-21 10:31 [RFC] Channel mapping API Takashi Iwai
2012-08-21 11:24 ` David Henningsson
2012-08-21 11:44   ` Clemens Ladisch
2012-08-21 12:06   ` Takashi Iwai
2012-08-21 13:13     ` Takashi Iwai
2012-08-21 11:37 ` Clemens Ladisch
2012-08-21 12:15   ` Takashi Iwai
2012-08-21 12:31     ` Jaroslav Kysela
2012-08-21 12:35       ` Takashi Iwai
2012-08-21 13:14         ` Takashi Iwai
2012-08-21 14:00   ` David Henningsson
2012-08-21 14:06     ` Mark Brown
2012-08-21 14:13       ` David Henningsson
2012-08-21 14:18         ` Mark Brown
2012-08-21 14:49           ` Takashi Iwai
2012-08-21 15:38             ` Clemens Ladisch
2012-08-21 16:27               ` Mark Brown
2012-08-21 17:05                 ` Takashi Iwai
2012-08-21 17:11                   ` Mark Brown
2012-08-21 19:29                     ` Takashi Iwai
2012-08-21 15:49             ` Mark Brown
2012-08-21 14:52           ` David Henningsson
2012-08-21 15:07             ` Mark Brown
2012-08-21 15:38               ` David Henningsson
2012-08-21 16:34                 ` Mark Brown
2012-08-21 17:09                   ` Takashi Iwai
2012-08-21 17:57                     ` Mark Brown
2012-08-21 13:59 ` Mark Brown
2012-08-21 14:08   ` Takashi Iwai
2012-08-21 14:12     ` Mark Brown [this message]
2012-08-21 18:03 ` Pierre-Louis Bossart
2012-08-21 19:23   ` 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=20120821141236.GL7995@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.