Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Revell <rlrevell@joe-job.com>
To: Juan Zapatero <jazc@gmvsistemas.es>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Mix two mono streams into one stereo.
Date: Tue, 07 Mar 2006 11:23:51 -0500	[thread overview]
Message-ID: <1141748631.767.13.camel@mindpipe> (raw)
In-Reply-To: <1141737495.6054.6.camel@jazc.fedora>

On Tue, 2006-03-07 at 13:18 +0000, Juan Zapatero wrote:
> I need some help with this. I have written a VoIP application which
> captures audio from a microphone input, and plays audio coming through
> the network to de audio output.
> 
> This application is intended to run on a system with a sound-card that
> has only one stereo output, and two different audio streams have to be
> played both at the same time through this stereo output. So I need to
> mix both mono streams into one stereo stream using ALSA Api.
> 
> How is this possible?

Just use JACK, this exposes the two output channels as independent
ports, and write your app as a JACK client (or multiple clients)

Lee



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

      reply	other threads:[~2006-03-07 16:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-07 13:18 Mix two mono streams into one stereo Juan Zapatero
2006-03-07 16:23 ` Lee Revell [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=1141748631.767.13.camel@mindpipe \
    --to=rlrevell@joe-job.com \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=jazc@gmvsistemas.es \
    /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