Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Colin Guthrie <gmane@colin.guthr.ie>
To: alsa-devel@alsa-project.org
Subject: Re: Question about dmix?
Date: Sat, 20 Mar 2010 14:27:15 +0000	[thread overview]
Message-ID: <ho2m03$1fs$1@dough.gmane.org> (raw)
In-Reply-To: <4df68b71003200705j36e71a8aicf9c44fb7f104c27@mail.gmail.com>

'Twas brillig, and cee1 at 20/03/10 14:05 did gyre and gimble:
> Hi all,
> I know alsa support userspace software multi-playback by dmix plugin.
> How does it realize? I expected a daemon accepting multi-streams which
> then mixes these streams to a single one -- it seems not the case.

I believe an older version of dmix used to act like a daemon, but the
current version no longer does this and instead uses some magic spells
that I don't even being to know about.

As far as userspace mixing goes, most linux distros and a lot of
embedded systems (e.g. smartphones) now use PulseAudio which does run as
a stand alone daemon and opens a single stream to alsa. It does much
more than just mixing, but it fits in with your paradigms :)

See http://pulseaudio.org for more info.

Col


-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mandriva Linux Contributor [http://www.mandriva.com/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

  reply	other threads:[~2010-03-20 14:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-20 14:05 Question about dmix? cee1
2010-03-20 14:27 ` Colin Guthrie [this message]
2010-03-21  1:58   ` cee1
2010-03-22  8:03 ` Clemens Ladisch

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='ho2m03$1fs$1@dough.gmane.org' \
    --to=gmane@colin.guthr.ie \
    --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