On Thu, 12 Dec 2002, Guilhem Tardy wrote:
> Hi all,
>
> I have come to realize that, whenever I drain() on a playback_handle to which a
> number of sample non-multiple of the period_size has been written, my
> application waits for several seconds to finally recover with an error EIO.
>
> Is the driver supposed to play audio if less than period_size is present in the
> buffer?
Yes.
> Is the application supposed to always add silence at the end to ensure that a
> multiple of period_size has been written?
It looks like a bug. Could you send me a little C code which triggers this
problem?
Jaroslav
-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel