Add SR_CONF keys for sound pressure level time and frequency weighting

This commit is contained in:
Bert Vermeulen 2013-06-15 12:09:31 +02:00
parent e1af0e85b9
commit fd8854c4d0
2 changed files with 10 additions and 0 deletions

View File

@ -83,6 +83,10 @@ static struct sr_config_info sr_config_info_data[] = {
"Coupling", NULL},
{SR_CONF_DATALOG, SR_T_BOOL, "datalog",
"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},
};

View File

@ -665,6 +665,12 @@ 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,
/*--- Special stuff -------------------------------------------------*/
/** Scan options supported by the driver. */