]> sigrok.org Git - libsigrok.git/commit
struct sr_samplerates is now obsolete
authorBert Vermeulen <redacted>
Mon, 25 Mar 2013 19:41:28 +0000 (20:41 +0100)
committerBert Vermeulen <redacted>
Thu, 11 Apr 2013 16:32:06 +0000 (18:32 +0200)
commit38f1e846a81a4fee1a28c0f3547c4ac821b0f882
tree8c65dfd323e8a490d67c6937a3d8d318c27d3568
parentaeea0572202fa20093534a8e97da87c324151932
struct sr_samplerates is now obsolete

sr_config_get() of SR_CONF_SAMPLERATE now returns a GVARIANT_TYPE_DICTIONARY.
This dictionary contains a single key-value pair. Possible values for the key:

 - "samplerates": the value is an array of GVARIANT_TYPE_UINT64 representing
   all valid samplerates.
 - "samplerate-steps": the value is an array of GVARIANT_TYPE_UINT64 with
   exactly three members, which represent the lowest samplerate, highest
   samplerate, and the minimum step, respectively.
libsigrok.h