[alsa-devel] snd_pcm_sw_params_set_xfer_align replacement?

Clemens Ladisch clemens at ladisch.de
Mon Jul 21 10:37:09 CEST 2008


Aaron J. Grier wrote:
> snd_pcm_sw_params_set_xfer_align() has been deprecated but the docs
> don't mention what it was replaced with.

There is no replacement; the transfer alignment always is one frame,
i.e., there is none.

> I don't ever want or need partial reads and writes

You get partial reads/writes only when you ask for it (by using non-
blocking mode) or when an error occurs.


HTH
Clemens


More information about the Alsa-devel mailing list