From: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>
To: alsa-devel@alsa-project.org
Subject: Capture and playabck together
Date: Wed, 20 Feb 2008 11:09:25 -0500 [thread overview]
Message-ID: <47BC50B5.9020806@savoirfairelinux.com> (raw)
Hi all,
I am developping an open-source C++ softphone based on Alsa. We used to
use Portaudio but we recently decided to switch to Alsa. I am quite
unexperimented in Alsa dev and I got some difficulties to make it work fine.
My capture and playback devices are plughw:0,0. I am using read/write
transfers. When I disable the capture, playback works fine; when I
disable the playback, capture works fine. The problems occurs when I
used them together. If I set hardware parameters for both, the playback
sound is awful and there is no capture, and finally core dumped. If I
set hardware parameters for the playback stream only, the playback works
fine, but no capture, I just get an echo with an input/ouput error.
Where do you think the problem comes from? Isn't it possible to set
hardware configuration for playback and capture? Is there a hardware
ring buffer for each stream ?
Thanks for your help
Manu
reply other threads:[~2008-02-20 16:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=47BC50B5.9020806@savoirfairelinux.com \
--to=emmanuel.milou@savoirfairelinux.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