Jaroslav, you wrote:

                avail = capture_avail < playback_avail ?
                                capture_avail : playback_avail;

                /* here is very bad assumption, that all drivers are able */
                /* todo full duplex with same period sizes, it would be better *
/
                /* to choose smaller value from playback->frames_per_cycle */
                /* and capture->frames_per_cycle */


true, except that we enforce this requirement at a different
level. you can't get a synchronous engine to run correctly if the
capture and playback streams are not usable in the same basic way. 

or can you?

a similar issue arises with devices like the sbawe, which also
cannot be used because the code requires that both streams be
configurable with the same data format (the sbawe can't do this)

--p

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to