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 15:23:27 +0100 [thread overview]
Message-ID: <50C0AA5F.1040503@ladisch.de> (raw)
In-Reply-To: <loom.20121206T132219-620@post.gmane.org>
itxEpsilon wrote:
> I'm trying to write a simple application
> for mixing two PCM sound channels in
> C++. Could anyone provide me a
> quick example about how to implement
> this operation?
outputSample[i] = inputChannel1[i] + inputChannel2[i];
What does this have to do with ALSA?
Regards,
Clemens
next prev parent reply other threads:[~2012-12-06 14:23 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 [this message]
2012-12-06 16:18 ` itxEpsilon
2012-12-06 18:05 ` 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=50C0AA5F.1040503@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox