From: Raymond Yau <superquad.vortex2@gmail.com>
To: ALSA Development Mailing List <alsa-devel@alsa-project.org>
Subject: Re: Playing multiple sounds at the same time
Date: Tue, 4 May 2010 10:34:59 +0800 [thread overview]
Message-ID: <h2u4f3252891005031934h2a950ac4z1e9036738c88e27e@mail.gmail.com> (raw)
In-Reply-To: <20100430104308.GE21607@sirena.org.uk>
2010/4/30 Mark Brown <broonie@opensource.wolfsonmicro.com>
> On Fri, Apr 30, 2010 at 12:38:49PM +0200, Andreas Falkenhahn wrote:
>
> > Now I want to play sounds 1 to 3 at the same time. My question is now:
> Can
> > ALSA do automatic mixing for me here or do I have to do the mixing on my
> > own? In other words, can I simply feed all these three sound streams to
> > ALSA or do I have to mix them into a fourth audio stream first and
> feeding
> > this new fourth stream to ALSA then?
>
> The easiest thing for your application is to just open and play multiple
> audio streams and allow a system mixing daemon such as PulseAudio to
> take care of the mixing.
>
>
Are you sure that your program can connect to PA server multilple times ?
next prev parent reply other threads:[~2010-05-04 2:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-30 10:38 Playing multiple sounds at the same time Andreas Falkenhahn
2010-04-30 10:43 ` Mark Brown
2010-04-30 12:36 ` Andreas Falkenhahn
2010-05-04 2:34 ` Raymond Yau [this message]
2010-05-04 8:23 ` Andreas Falkenhahn
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=h2u4f3252891005031934h2a950ac4z1e9036738c88e27e@mail.gmail.com \
--to=superquad.vortex2@gmail.com \
--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;
as well as URLs for NNTP newsgroup(s).