Add SR_CONF keys for sound pressure level time and frequency weighting
This commit is contained in:
parent
e1af0e85b9
commit
fd8854c4d0
|
@ -83,6 +83,10 @@ static struct sr_config_info sr_config_info_data[] = {
|
||||||
"Coupling", NULL},
|
"Coupling", NULL},
|
||||||
{SR_CONF_DATALOG, SR_T_BOOL, "datalog",
|
{SR_CONF_DATALOG, SR_T_BOOL, "datalog",
|
||||||
"Datalog", NULL},
|
"Datalog", NULL},
|
||||||
|
{SR_CONF_SPL_WEIGHT_FREQ, SR_T_CHAR, "spl_weight_freq",
|
||||||
|
"Sound pressure level frequency weighting", NULL},
|
||||||
|
{SR_CONF_SPL_WEIGHT_TIME, SR_T_CHAR, "spl_weight_time",
|
||||||
|
"Sound pressure level time weighting", NULL},
|
||||||
{0, 0, NULL, NULL, NULL},
|
{0, 0, NULL, NULL, NULL},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -665,6 +665,12 @@ enum {
|
||||||
/** Number of vertical divisions, as related to SR_CONF_VDIV. */
|
/** Number of vertical divisions, as related to SR_CONF_VDIV. */
|
||||||
SR_CONF_NUM_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,
|
||||||
|
|
||||||
/*--- Special stuff -------------------------------------------------*/
|
/*--- Special stuff -------------------------------------------------*/
|
||||||
|
|
||||||
/** Scan options supported by the driver. */
|
/** Scan options supported by the driver. */
|
||||||
|
|
Loading…
Reference in New Issue