9 Sep
2014
9 Sep
'14
10:43 a.m.
Alexander E. Patrakov wrote:
This phrase from the documentation of snd_pcm_rewindable is also something to think about:
""" Note: The snd_pcm_rewind() can accept bigger value than returned by this function. But it is not guaranteed that output stream will be consistent with bigger value.
This phrase again assumes a ring buffer, i.e., it says that 1) there is a buffer, and applications can write _anywhere_ in it, but 2) if a plugin reduces the allowed range (with snd_pcm_rewindable()), it is likely that the plugin will not notice that some part of the buffer has changed.
(The first part is not true for most unrewindable plugins.)
Regards, Clemens