Home
last modified time | relevance | path

Searched refs:ini_key (Results 1 – 3 of 3) sorted by relevance

/external/adhd/cras/src/server/config/
Dcras_card_config.c25 char ini_key[MAX_KEY_LEN + 1]; in create_simple_step_curve() local
29 snprintf(ini_key, MAX_KEY_LEN, "%s:max_volume", control_name); in create_simple_step_curve()
30 ini_key[MAX_KEY_LEN] = 0; in create_simple_step_curve()
31 max_volume = iniparser_getint(card_config->ini, ini_key, 0); in create_simple_step_curve()
32 snprintf(ini_key, MAX_KEY_LEN, "%s:volume_step", control_name); in create_simple_step_curve()
33 ini_key[MAX_KEY_LEN] = 0; in create_simple_step_curve()
34 volume_step = iniparser_getint(card_config->ini, ini_key, 300); in create_simple_step_curve()
44 char ini_key[MAX_KEY_LEN + 1]; in create_explicit_curve() local
48 snprintf(ini_key, MAX_KEY_LEN, "%s:dB_at_%u", control_name, i); in create_explicit_curve()
49 ini_key[MAX_KEY_LEN] = 0; in create_explicit_curve()
[all …]
Dcras_board_config.c26 char ini_key[MAX_KEY_LEN + 1]; in cras_board_config_get() local
43 snprintf(ini_key, MAX_KEY_LEN, DEFAULT_OUTPUT_BUF_SIZE_INI_KEY); in cras_board_config_get()
44 ini_key[MAX_KEY_LEN] = 0; in cras_board_config_get()
46 iniparser_getint(ini, ini_key, DEFAULT_OUTPUT_BUFFER_SIZE); in cras_board_config_get()
48 snprintf(ini_key, MAX_KEY_LEN, AEC_SUPPORTED_INI_KEY); in cras_board_config_get()
49 ini_key[MAX_KEY_LEN] = 0; in cras_board_config_get()
51 iniparser_getint(ini, ini_key, AEC_SUPPORTED_DEFAULT); in cras_board_config_get()
Dcras_device_blacklist.c53 char ini_key[MAX_KEY_LEN + 1]; in cras_device_blacklist_check() local
58 snprintf(ini_key, MAX_KEY_LEN, "USB_Outputs:%04x_%04x_%08x_%u", in cras_device_blacklist_check()
60 ini_key[MAX_KEY_LEN] = 0; in cras_device_blacklist_check()
61 return iniparser_getboolean(blacklist->ini, ini_key, 0); in cras_device_blacklist_check()