ASoC: dsp: Add utility function needed for Instance ID
Add common structures and definitions used to support instance ID. Add helper function to populate header based on instance ID support and pack it with payload data. CRs-Fixed: 2151551 Change-Id: If9b7e497d0e8fdfed7d62a1ee34c415baabdda07 Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
5c10992ad9
commit
13d0d3561f
@@ -13,9 +13,11 @@
|
||||
#ifndef __Q6COMMON_H__
|
||||
#define __Q6COMMON_H__
|
||||
|
||||
#include <ipc/apr.h>
|
||||
#include <dsp/apr_audio-v2.h>
|
||||
|
||||
void q6common_update_instance_id_support(bool supported);
|
||||
bool q6common_is_instance_id_supported(void);
|
||||
int q6common_pack_pp_params(u8 *dest, struct param_hdr_v3 *v3_hdr,
|
||||
u8 *param_data, u32 *total_size);
|
||||
|
||||
#endif /* __Q6COMMON_H__ */
|
||||
|
Reference in New Issue
Block a user