Add SR_CONF keys for max/min hold modes
This commit is contained in:
parent
1487ce4fbc
commit
9fd6bc2054
|
@ -87,6 +87,10 @@ static struct sr_config_info sr_config_info_data[] = {
|
||||||
"Sound pressure level frequency weighting", NULL},
|
"Sound pressure level frequency weighting", NULL},
|
||||||
{SR_CONF_SPL_WEIGHT_TIME, SR_T_CHAR, "spl_weight_time",
|
{SR_CONF_SPL_WEIGHT_TIME, SR_T_CHAR, "spl_weight_time",
|
||||||
"Sound pressure level time weighting", NULL},
|
"Sound pressure level time weighting", NULL},
|
||||||
|
{SR_CONF_HOLD_MAX, SR_T_BOOL, "hold_max",
|
||||||
|
"Hold max", NULL},
|
||||||
|
{SR_CONF_HOLD_MIN, SR_T_BOOL, "hold_min",
|
||||||
|
"Hold min", NULL},
|
||||||
{0, 0, NULL, NULL, NULL},
|
{0, 0, NULL, NULL, NULL},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -671,6 +671,12 @@ enum {
|
||||||
/** Sound pressure level time weighting. */
|
/** Sound pressure level time weighting. */
|
||||||
SR_CONF_SPL_WEIGHT_TIME,
|
SR_CONF_SPL_WEIGHT_TIME,
|
||||||
|
|
||||||
|
/** Max hold mode. */
|
||||||
|
SR_CONF_HOLD_MAX,
|
||||||
|
|
||||||
|
/** Min hold mode. */
|
||||||
|
SR_CONF_HOLD_MIN,
|
||||||
|
|
||||||
/*--- Special stuff -------------------------------------------------*/
|
/*--- Special stuff -------------------------------------------------*/
|
||||||
|
|
||||||
/** Scan options supported by the driver. */
|
/** Scan options supported by the driver. */
|
||||||
|
|
Loading…
Reference in New Issue