All of lore.kernel.org
 help / color / mirror / Atom feed
* Non-continous channel map?
@ 2006-04-27  5:52 Pierre Ossman
  2006-05-03 12:06 ` Clemens Ladisch
  2006-05-03 12:56 ` Takashi Iwai
  0 siblings, 2 replies; 6+ messages in thread
From: Pierre Ossman @ 2006-04-27  5:52 UTC (permalink / raw)
  To: alsa-devel

Hi!

ALSA uses a rather strict default channel map, just a simple list. This 
is insufficient for the polypaudio plug-in I wrote, as the polypaudio 
server might have an output of e.g. just the center channel and a 
subwoofer. I'm wondering how to properly represent this in ALSA.

For the PCM, there is no problem as we as clients decide which channels 
are to be set up. The server will then need to map these to actual hardware.

For mixer, however, we're modifying the server hardware so we will need 
to adapt to whatever channels it has. So provided I have a device with 
channels "left", "right", "center" and "subwoofer", should I:

  a) Just expose "left" and "right" since "rear left" isn't present (the 
next in ALSA's list).

  b) Expose all channels until I can cover my four and simply filter out 
the ones that aren't present on the server.

  c) Ignore ALSA's list completely and leave it to the user to figure 
out what the channel map is.

  d) Something else?

Input appreciated.

-- 
Pierre Ossman                Telephone: +46-13-21 46 00
Cendio AB                    Web: http://www.cendio.com


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-05-03 14:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-27  5:52 Non-continous channel map? Pierre Ossman
2006-05-03 12:06 ` Clemens Ladisch
2006-05-03 12:43   ` Pierre Ossman
2006-05-03 12:52     ` Takashi Iwai
2006-05-03 12:56 ` Takashi Iwai
2006-05-03 14:00   ` Pierre Ossman

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.