Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e003f502 authored by Vatsal Bucha's avatar Vatsal Bucha
Browse files

dsp: Add macro for packed 16B format



CDC DMA TX uses PACKED_16B format if speaker prot
is enabled. Add macro AFE_LINEAR_PCM_DATA_PACKED_16BIT
for proper value of format.

Change-Id: I1070e00d26a18c77e26ff2518ef4a1256a674e20
Signed-off-by: default avatarVatsal Bucha <vbucha@codeaurora.org>
parent 711dbb3d
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -2225,6 +2225,7 @@ struct afe_port_data_cmd_rt_proxy_port_read_v2 {
#define AFE_LINEAR_PCM_DATA_PACKED_60958 0x2
#define AFE_LINEAR_PCM_DATA_PACKED_60958 0x2
#define AFE_NON_LINEAR_DATA_PACKED_60958 0x3
#define AFE_NON_LINEAR_DATA_PACKED_60958 0x3
#define AFE_GENERIC_COMPRESSED           0x8
#define AFE_GENERIC_COMPRESSED           0x8
#define AFE_LINEAR_PCM_DATA_PACKED_16BIT 0X6


/* This param id is used to configure I2S interface */
/* This param id is used to configure I2S interface */
#define AFE_PARAM_ID_I2S_CONFIG	0x0001020D
#define AFE_PARAM_ID_I2S_CONFIG	0x0001020D