From: Clemens Ladisch <clemens@ladisch.de>
To: alsa-devel@alsa-project.org
Subject: Re: How to mix two PCM channels with ALSA
Date: Thu, 06 Dec 2012 19:05:27 +0100 [thread overview]
Message-ID: <50C0DE67.1000000@ladisch.de> (raw)
In-Reply-To: <loom.20121206T171348-66@post.gmane.org>
itxEpsilon wrote:
> I'd like to know how is performed with the ALSA API.
>
> playSound(buffer1);
> playSound(buffer2);
>
> is it implicitly mixed when playing two buffers by hardware?
Yes, if the hardware actually support this (nowadays, none does), or if
ALSA is configured to use software mixing through dmix or PulseAudio
(which are enabled by default in most distributions).
Regards,
Clemens
prev parent reply other threads:[~2012-12-06 18:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-06 12:27 How to mix two PCM channels with ALSA itxEpsilon
2012-12-06 14:23 ` Clemens Ladisch
2012-12-06 16:18 ` itxEpsilon
2012-12-06 18:05 ` Clemens Ladisch [this message]
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=50C0DE67.1000000@ladisch.de \
--to=clemens@ladisch.de \
--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 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.