[alsa-devel] Misusing snd_pcm_avail_update()

Clemens Ladisch clemens at ladisch.de
Tue Jan 20 09:32:57 CET 2009

I wrote:
> After choosing hardware parameters, you can call
> snd_pcm_hw_params_is_block_transfer() to determine if the device
> transfers samples in comparatively large blocks.  (The wavetable and
> USB drivers set this flag.)

A quick grep over the kernel source shows that this flag is also set by
many drivers that shouldn't, so it isn't very reliable.

Best regards,

More information about the Alsa-devel mailing list