>Hi. I'm developping a signal processing program which needs to compute data >from each channel of soundcards separately. >After searches I found that I must open the soundcard with the >SND_PCM_ACCESS_RW_NONINTERLEAVED flag but it doesn't works well : for each >readn operation i get the -32 error code . Meanwhile, I tested capture in >interleaved mode and it works well. >I had to use hw:x,y for the interleaved capture and plughw:x,y for the non- >interleaved capture, I don't know if non-interleaved capture works with hw:x,y.
[ We need a FAQ ... ] ALSA's "hw" devices can only be used with parameters that match capabilities offered by the underlying hardware. There's not much hardware out there that supports non-interleaved I/O, so as a result, most "hw" devices can't do this. The Hammerfall and ice1712 series are notable exceptions. But there is a corollary: if you were using a hammerfall, the "hw" device cannot do interleaved I/O either. as to your error, its probably a bug in your code. JACK uses non-interleaved mode by default, and it works with both plughw and hw models of many different kinds. if you posted the relevant parts of it here, somebody can probably help you. ------------------------------------------------------- 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