09.09.2014 19:45, Clemens Ladisch wrote:
Alexander E. Patrakov wrote:
can the proposed heuristic (minimum period size for a given sample rate, number of channels and sample format) be useful as an upper- bound approximation of the pointer update granularity for cards that are "rewindable even further than the nearest period"?
No; USB precsion depends on the URB size, which is roughly proportional to (but smaller than) the period size.
Thanks for the explanation. It was very useful.
At this point, I am tempted to not express this "less than the period size but depends on it" rule, and classify USB audio devices as "Rewindable down to the period size", even though it is a pessimization.
Also (sorry for the off-topic) this explanation completely crystallizes my opinion about possible misuse of the SNDRV_PCM_INFO_BATCH flag in the snd-usb-audio driver or PulseAudio. My opinion now is: there is no misuse on either side.