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 }; 15 16 /* Gets a configuration based on the config file specified. 17 * Args: 18 * config_path - Path containing the config files. 19 * board_config - The returned configs. 20 */ 21 void cras_board_config_get(const char *config_path, 22 struct cras_board_config *board_config); 23 24 #endif /* CRAS_BOARD_CONFIG_H_ */ 25