On Wed, 28 Nov 2001, Paul Davis wrote:

> 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?

Yes, you can find the nearest transfer count for both streams.

> 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)

But the alsa-lib can.
                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
SuSE Linux    http://www.suse.com
ALSA Project  http://www.alsa-project.org


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

Reply via email to