1 /* Copyright 2017 The Chromium OS Authors. All rights reserved. 2 * Use of this source code is governed by a BSD-style license that can be 3 * found in the LICENSE file. 4 */ 5 6 #ifndef CRAS_BOARD_CONFIG_H_ 7 #define CRAS_BOARD_CONFIG_H_ 8 9 #include <stdint.h> 10 11 struct cras_board_config { 12 int32_t default_output_buffer_size; 13 int32_t aec_supported; 14 int32_t aec_group_id; 15 int32_t bt_wbs_enabled; 16 int32_t deprioritize_bt_wbs_mic; 17 char *ucm_ignore_suffix; 18 int32_t hotword_pause_at_suspend; 19 }; 20 21 /* Gets a configuration based on the config file specified. 22 * Args: 23 * config_path - Path containing the config files. 24 * board_config - The returned configs. 25 */ 26 void cras_board_config_get(const char *config_path, 27 struct cras_board_config *board_config); 28 29 #endif /* CRAS_BOARD_CONFIG_H_ */ 30