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

Commit ee29f1dd authored by Banajit Goswami's avatar Banajit Goswami Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: msm: add support for different compressed formats



Add support for below compressed formats and features
 * DTS playback
 * PCM capture in Compressed driver
 * MP2 decoder
 * DTS_LBR Passthrough Support
 * Transcode from MP3, WMA to DTS compressed
 * Update compress audio params

Change-Id: I595e638da78cced02142f4ee430afb7357eb336c
Signed-off-by: default avatarSrikanth Uyyala <suyyala@codeaurora.org>
Signed-off-by: default avatarBanajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: default avatarMeng Wang <mwang@codeaurora.org>
parent 28f9013e
Loading
Loading
Loading
Loading
+12 −1
Original line number Diff line number Diff line
@@ -75,7 +75,18 @@
#define SND_AUDIOCODEC_G723_1                ((__u32) 0x0000000C)
#define SND_AUDIOCODEC_G729                  ((__u32) 0x0000000D)
#define SND_AUDIOCODEC_BESPOKE               ((__u32) 0x0000000E)
#define SND_AUDIOCODEC_MAX                   SND_AUDIOCODEC_BESPOKE
#define SND_AUDIOCODEC_DTS_PASS_THROUGH      ((__u32) 0x0000000F)
#define SND_AUDIOCODEC_DTS_LBR               ((__u32) 0x00000010)
#define SND_AUDIOCODEC_DTS_TRANSCODE_LOOPBACK ((__u32) 0x00000011)
#define SND_AUDIOCODEC_PASS_THROUGH          ((__u32) 0x00000012)
#define SND_AUDIOCODEC_MP2                   ((__u32) 0x00000013)
#define SND_AUDIOCODEC_DTS_LBR_PASS_THROUGH  ((__u32) 0x00000014)
#define SND_AUDIOCODEC_AC3                   ((__u32) 0x00000015)
#define SND_AUDIOCODEC_AC3_PASS_THROUGH      ((__u32) 0x00000016)
#define SND_AUDIOCODEC_WMA_PRO               ((__u32) 0x00000017)
#define SND_AUDIOCODEC_DTS                   ((__u32) 0x00000018)
#define SND_AUDIOCODEC_EAC3                  ((__u32) 0x00000019)
#define SND_AUDIOCODEC_MAX                   SND_AUDIOCODEC_EAC3

/*
 * Profile and modes are listed with bit masks. This allows for a