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

Ranjani Sridharan ranjani.sridharan at linux.intel.com
Thu Jun 14 05:29:56 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 8895ff3..b5e8d17 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