Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
local: Add support for setting watermark
Add support for setting the watermark value, if the driver supports it. The watermark value represents the number of samples that will be read in one burst from the hardware. Since we read data at the granularity of iio_buffer blocks, it makes sense to use the highest watermark value up to the buffer's size. If the value is too high, the driver will automatically adjust it to the maximum watermark value possible. Fixes #780. Signed-off-by: Paul Cercueil <paul@crapouillou.net>
- Loading branch information