]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok.h
Add SR_CONF keys for max/min hold modes
[libsigrok.git] / libsigrok.h
index 6cda5543223d17cfceb225c0dce40ded25899feb..dbd0c594f0097461218ca713aa82fd8f6ef9becf 100644 (file)
@@ -72,6 +72,7 @@ enum {
        SR_ERR_SAMPLERATE = -5, /**< Incorrect samplerate. */
        SR_ERR_NA         = -6, /**< Not applicable. */
        SR_ERR_DEV_CLOSED = -7, /**< Device is closed, but needs to be open. */
+       SR_ERR_TIMEOUT    = -8, /**< A timeout occurred. */
 
        /*
         * Note: When adding entries here, don't forget to also update the
@@ -664,6 +665,18 @@ enum {
        /** Number of vertical divisions, as related to SR_CONF_VDIV.  */
        SR_CONF_NUM_VDIV,
 
+       /** Sound pressure level frequency weighting.  */
+       SR_CONF_SPL_WEIGHT_FREQ,
+
+       /** Sound pressure level time weighting.  */
+       SR_CONF_SPL_WEIGHT_TIME,
+
+       /** Max hold mode. */
+       SR_CONF_HOLD_MAX,
+
+       /** Min hold mode. */
+       SR_CONF_HOLD_MIN,
+
        /*--- Special stuff -------------------------------------------------*/
 
        /** Scan options supported by the driver. */