Add SR_CONF key for sound pressure level measurement range
This commit is contained in:
parent
0cd9107dfb
commit
8417ebad12
|
@ -91,6 +91,8 @@ static struct sr_config_info sr_config_info_data[] = {
|
|||
"Hold max", NULL},
|
||||
{SR_CONF_HOLD_MIN, SR_T_BOOL, "hold_min",
|
||||
"Hold min", NULL},
|
||||
{SR_CONF_SPL_MEASUREMENT_RANGE, SR_T_UINT64_RANGE, "spl_meas_range",
|
||||
"Sound pressure level measurement range", NULL},
|
||||
{0, 0, NULL, NULL, NULL},
|
||||
};
|
||||
|
||||
|
|
|
@ -141,6 +141,7 @@ enum {
|
|||
SR_T_RATIONAL_PERIOD,
|
||||
SR_T_RATIONAL_VOLT,
|
||||
SR_T_KEYVALUE,
|
||||
SR_T_UINT64_RANGE,
|
||||
};
|
||||
|
||||
/** Value for sr_datafeed_packet.type. */
|
||||
|
@ -671,6 +672,9 @@ enum {
|
|||
/** Sound pressure level time weighting. */
|
||||
SR_CONF_SPL_WEIGHT_TIME,
|
||||
|
||||
/** Sound pressure level measurement range. */
|
||||
SR_CONF_SPL_MEASUREMENT_RANGE,
|
||||
|
||||
/** Max hold mode. */
|
||||
SR_CONF_HOLD_MAX,
|
||||
|
||||
|
|
Loading…
Reference in New Issue