Searched refs:swap_mod (Results 1 – 1 of 1) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_alsa_ucm.c | 460 char *swap_mod = NULL; in ucm_enable_swap_mode() local 463 swap_mod = (char *)malloc(len); in ucm_enable_swap_mode() 464 if (!swap_mod) in ucm_enable_swap_mode() 466 snprintf(swap_mod, len, "%s %s", node_name, swap_mode_suffix); in ucm_enable_swap_mode() 467 if (!ucm_mod_exists_with_name(mgr, swap_mod)) { in ucm_enable_swap_mode() 468 syslog(LOG_ERR, "Can not find swap mode modifier %s.", swap_mod); in ucm_enable_swap_mode() 469 free((void *)swap_mod); in ucm_enable_swap_mode() 472 if (modifier_enabled(mgr, swap_mod) == !!enable) { in ucm_enable_swap_mode() 473 free((void *)swap_mod); in ucm_enable_swap_mode() 476 rc = ucm_set_modifier_enabled(mgr, swap_mod, enable); in ucm_enable_swap_mode() [all …]
|