Bug 349 - Honor SR_CONF_LIMIT_SAMPLES, never send more samples than actually requested
Summary: Honor SR_CONF_LIMIT_SAMPLES, never send more samples than actually requested
Status: CONFIRMED
Alias: None
Product: libsigrok
Classification: Unclassified
Component: Driver: chronovu-la (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-25 18:48 CEST by Uwe Hermann
Modified: 2019-12-21 20:23 CET (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uwe Hermann 2014-04-25 18:48:57 CEST
Honor SR_CONF_LIMIT_SAMPLES, never send more samples than actually requested.

We now require all drivers to properly limit the number of samples they send to the session bus.
Comment 1 Gerhard Sittig 2019-12-21 20:23:46 CET
Source code inspection suggests that the driver provides the configuration 
keys but does not enforce the limits. Ideally it also shall use common code 
to manage the limits, the current implementation doesn't.