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

Commit 8d62a40e authored by Banajit Goswami's avatar Banajit Goswami
Browse files

ASoc: msm: Add AMR NB and AMR WB support for Voip



Use SPECIAL format for AMR. Add mixer control to
input mode and rate.

Change-Id: I8746d86ce323744995575a22b6128b39daaa3d13
Signed-off-by: default avatarHelen Zeng <xiaoyunz@codeaurora.org>
[sboyd: Drop soc/msm parts]
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarBanajit Goswami <bgoswami@codeaurora.org>
parent cec03b6c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -168,7 +168,9 @@ static struct pcm_format_data pcm_formats[(INT)SNDRV_PCM_FORMAT_LAST+1] = {
		.le = -1, .signd = -1,
	},
	[SNDRV_PCM_FORMAT_SPECIAL] = {
		.le = -1, .signd = -1,
		/* set the width and phys same as S16_LE */
		.width = 16, .phys = 16, .le = -1, .signd = -1,
		.silence = {},
	},
	[SNDRV_PCM_FORMAT_S24_3LE] = {
		.width = 24, .phys = 24, .le = 1, .signd = 1,