>I've not managed to fix this bug into my program... Do you see the error on my
> 
>code (bad soundcard initialization or other) or have you got another way to 
>propose me to capture the two channels of my soundcard separately ?

try increasing BUF_SIZE to 4096 and see what happens. 128
frames/period is in seriously low-latency territory, and i doubt that
your program is designed for that. if i was to make a guess, you
probably try to write to disk after reading from the audio interface,
in the same thread, yes? sorry, you can't do that for 128
frames/period, and a general design rule, you shouldn't ever do it
(though it obviously works for some simple programs with just stereo
in).

--p


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to