Add SR_CONF keys for max/min hold modes

This commit is contained in:
Bert Vermeulen 2013-06-16 12:12:20 +02:00
parent 1487ce4fbc
commit 9fd6bc2054
2 changed files with 10 additions and 0 deletions

View File

@ -87,6 +87,10 @@ static struct sr_config_info sr_config_info_data[] = {
"Sound pressure level frequency weighting", NULL},
{SR_CONF_SPL_WEIGHT_TIME, SR_T_CHAR, "spl_weight_time",
"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},
};

View File

@ -671,6 +671,12 @@ enum {
/** 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. */