All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: "Harsha, Priya" <priya.harsha@intel.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	Lee Revell <rlrevell@joe-job.com>
Subject: Re: question on hardware mixing
Date: Tue, 09 Dec 2008 09:52:51 +0100	[thread overview]
Message-ID: <493E31E3.2080504@ladisch.de> (raw)
In-Reply-To: <98769532B4BB14429434178695419EAE268614A1@bgsmsx501.gar.corp.intel.com>

Harsha, Priya wrote:
> In the trigger function - I see that from substream->runtime->private_data,
> voice specific parameters are extracted. How and can somehow user space
> fill in some private data to the driver so that driver can process voice
> in a different way and music in a different way?

On the Emu10k1 chip, the hardware voices are used for both PCM playback
and wavetable (MIDI) playback.  Voice-specific parameters are set for
MIDI data; the parameters come from the soundfont that was loaded to
specify how the instruments sound.  (Here, the term "voice" has no
relation to the sound of a human voice.)

As far as PCM playback is concerned, ALSA does not have any predefined
mechanism to differentiate between voice and music audio streams.  It
would be possible to define mixer controls to switch between these
settings for each substream.


HTH
Clemens

  parent reply	other threads:[~2008-12-09  8:52 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-05 16:53 [PATCH 0/2] ASoC updates Mark Brown
2008-12-05 16:54 ` [PATCH 1/2] ASoC: Add support for OMAP3 Pandora Mark Brown
2008-12-05 16:54   ` [PATCH 2/2] ASoC: tlv320aic3x: control additions and cleanups Mark Brown
2008-12-05 17:03   ` question on hardware mixing Harsha, Priya
2008-12-05 17:12     ` Vedran Miletić
2008-12-05 17:26       ` Harsha, Priya
2008-12-06  4:58     ` Lee Revell
2008-12-06  6:56       ` Harsha, Priya
2008-12-09  3:15         ` Lee Revell
2008-12-09  3:24           ` Harsha, Priya
2008-12-09  3:26           ` Harsha, Priya
2008-12-09  8:52         ` Clemens Ladisch [this message]
2008-12-09  8:55           ` Harsha, Priya
2008-12-09 12:44             ` David Dillow
2009-04-09  7:36               ` question on hardware Harsha, Priya
2009-04-09  7:56                 ` Harsha, Priya
2009-04-17 13:36                   ` Takashi Iwai
2008-12-09 14:06             ` question on hardware mixing Clemens Ladisch
2008-12-09 17:04               ` Harsha, Priya
2009-05-07 14:35               ` Harsha, Priya
2008-12-05 17:09 ` [PATCH 0/2] ASoC updates 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=493E31E3.2080504@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=priya.harsha@intel.com \
    --cc=rlrevell@joe-job.com \
    /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.