1 /* SPDX-License-Identifier: BSD-3-Clause 2 * 3 * Copyright(c) 2019 Intel Corporation. All rights reserved. 4 * 5 * Author: Marcin Rajwa <marcin.rajwa@linux.intel.com> 6 */ 7 8 #ifndef __USER_KPB_H__ 9 #define __USER_KPB_H__ 10 11 #include <stdint.h> 12 13 /** \brief kpb component configuration data. */ 14 struct sof_kpb_config { 15 uint32_t size; /**< kpb size in bytes */ 16 uint32_t caps; /**< SOF_MEM_CAPS_ */ 17 uint32_t channels; /**< number of channels */ 18 uint32_t history_depth; /**< time of buffering in milliseconds */ 19 uint32_t sampling_freq; /**< frequency in hertz */ 20 uint32_t sampling_width; /**< number of bits */ 21 }; 22 23 #endif /* __USER_KPB_H__ */ 24