Alexander E. Patrakov wrote:
15.06.2015 13:03, Lars-Peter Clausen wrote:
So SNDRV_PCM_INFO_BLOCK_TRANSFER is mainly important for rewind handling and devices with that flag set might need additional headroom since the data up to one period after the pointer position has already been copied to the dedicated memory and hence can no longer be overwritten.
In kernel sources, sound/pci/hda/hda_controller.c mentions SNDRV_PCM_INFO_BLOCK_TRANSFER. However, sub-period rewinds work fine on this driver, and the avail granularity is something like 64 bytes.
HDA is a very typical PCI controller; if this flag were correct here, pretty much _every_ driver would need it.
Some (older) HDA controllers have problems with position reporting (with workarounds in the drivers), but those problems are with the timing, not with the granularity.
As far as I can see, snd-hda-intel should just drop this flag.
Regards, Clemens