All of lore.kernel.org
 help / color / mirror / Atom feed
From: pl bossart <bossart.nospam@gmail.com>
To: Jaroslav Kysela <perex@perex.cz>
Cc: ALSA development <alsa-devel@alsa-project.org>,
	Mark Brown <broonie@opensource.wolfsonmicro.com>,
	Liam Girdwood <lrg@slimlogic.co.uk>
Subject: Re: UCM questions
Date: Mon, 24 Jan 2011 14:31:31 -0800	[thread overview]
Message-ID: <AANLkTi=zH6SMyH4p2Uhy7dbS-qi1VBw4zDAqAsYb1MrP@mail.gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.00.1101231430550.6272@eeebox2.perex-int.cz>

> You may have for example USB microphone and USB speakers plugged to the
> system (each represents one card for the ALSA driver with different USB
> physical links). UCM can join these two cards as one "virtual", so if an app
> asks for playback device, USB speakers are returned and for capture device,
> USB MIC is returned. Only one alsa-lib's device should be returned for given
> verb/device/modifier identifiers. I admit that the PCM configuration for
> alsa-lib allows this too, but UCM handles also the mixer control mapping.

Makes sense now.

> Anyway, your questions are mostly about the abstract mapping. The purpose of
> UCM is to allow any abstraction, so strings in the header file like "HiFi"
> or so are just common cases. But anyone can create own abstraction for
> different purposes.

Most of my questions are not really on the abstraction but really on
how to handle devices that can be plugged or may not be active at all
times. USB, HDMI, Wireless/remote displays fall in this category. So
on top of the traditional local headset/speakers, I can either have a
variety of devices that can be used for the same use case. It's still
not clear to me if I would need to create a set of new verbs
(hifi_usb, hifi_hdmi) or if I can stick to the existing verbs and add
a modifier?
Thanks for your comments,
-Pierre

  reply	other threads:[~2011-01-24 22:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-20 22:06 UCM questions pl bossart
2011-01-21 11:37 ` Mark Brown
2011-01-21 15:12   ` pl bossart
2011-01-21 16:43     ` Mark Brown
2011-01-21 20:53       ` pl bossart
2011-01-21 23:37         ` Liam Girdwood
2011-01-22  5:22           ` Raymond Yau
2011-01-23  0:41         ` Mark Brown
2011-01-23 13:49         ` Jaroslav Kysela
2011-01-21 15:24   ` Liam Girdwood
2011-01-21 21:03     ` pl bossart
2011-01-21 23:37       ` Liam Girdwood
2011-01-23 13:39       ` Jaroslav Kysela
2011-01-24 22:31         ` pl bossart [this message]
2011-01-25 12:13           ` Liam Girdwood
2011-01-25 21:58             ` pl bossart

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='AANLkTi=zH6SMyH4p2Uhy7dbS-qi1VBw4zDAqAsYb1MrP@mail.gmail.com' \
    --to=bossart.nospam@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=lrg@slimlogic.co.uk \
    --cc=perex@perex.cz \
    /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.