[Sound-open-firmware] [PATCH v2 3/6] ipc: add sample_rate member to ipc tone comp def

Ranjani Sridharan ranjani.sridharan at linux.intel.com
Sun Jun 24 09:59:25 CEST 2018


add sample_rate memeber in tone ipc comp def to read in
the value from topology.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan at linux.intel.com>
---
 src/include/uapi/ipc.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/include/uapi/ipc.h b/src/include/uapi/ipc.h
index 912926f..a5f4649 100644
--- a/src/include/uapi/ipc.h
+++ b/src/include/uapi/ipc.h
@@ -715,6 +715,7 @@ struct sof_ipc_comp_mux {
 struct sof_ipc_comp_tone {
 	struct sof_ipc_comp comp;
 	struct sof_ipc_comp_config config;
+	int32_t sample_rate;
 	int32_t frequency;
 	int32_t amplitude;
 	int32_t freq_mult;
-- 
2.17.1



More information about the Sound-open-firmware mailing list