Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Capture and playabck together
@ 2008-02-20 16:09 Emmanuel Milou
  0 siblings, 0 replies; only message in thread
From: Emmanuel Milou @ 2008-02-20 16:09 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-20 16:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-20 16:09 Capture and playabck together Emmanuel Milou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox