On Sat, 17 Nov 2001, James Courtier-Dutton wrote:

> Hello
> 1) When using normal PCM play to device pcm0p, I can do a writei of stereo
> 16 bits sound (4 bytes per frame) for 1536 frames, or  6144 bytes.
>
> When using passthru to device pcm3p, I can only writei 1440 frames in one
> go. I have to then write 96 frames in a separate write command.

It looks like a wrong setup of sw_params.

> Can anyone explain why I have to do these 2 write commands in passthru mode,
> but not for normal PCM mode ?
>
> 2) When doing SPDIF passthru, should is use MMAP or not ?

Yes, you can.

> 3) Is MMAP supported on all sound cards ?

Yes, except GUS cards. I need to modify the existing code. But these cards
have not S/PDIF I/O at all.

                                                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