ASoc: msm: Add amr-wb/wb+ tunnel playback support
Update compress audio platform driver to support amr-wb/wb+ tunnel mode playback. Change-Id: I98d087db490441c57c8e2d4fe03a7e91b28e67fc Signed-off-by: Ajit Khare <ajitk@codeaurora.org>
This commit is contained in:
@@ -978,6 +978,16 @@ struct asm_aac_cfg {
|
||||
u32 sample_rate;
|
||||
};
|
||||
|
||||
struct asm_amrwbplus_cfg {
|
||||
u32 size_bytes;
|
||||
u32 version;
|
||||
u32 num_channels;
|
||||
u32 amr_band_mode;
|
||||
u32 amr_dtx_mode;
|
||||
u32 amr_frame_fmt;
|
||||
u32 amr_lsf_idx;
|
||||
};
|
||||
|
||||
struct asm_flac_cfg {
|
||||
u16 stream_info_present;
|
||||
u16 min_blk_size;
|
||||
@@ -1398,6 +1408,7 @@ struct asm_stream_media_format_update{
|
||||
struct asm_flac_cfg flac_cfg;
|
||||
struct asm_vorbis_cfg vorbis_cfg;
|
||||
struct asm_multi_channel_pcm_fmt_blk multi_ch_pcm_cfg;
|
||||
struct asm_amrwbplus_cfg amrwbplus_cfg;
|
||||
} __attribute__((packed)) write_cfg;
|
||||
} __attribute__((packed));
|
||||
|
||||
|
||||
@@ -288,6 +288,9 @@ int q6asm_media_format_block_multi_ch_pcm(struct audio_client *ac,
|
||||
int q6asm_media_format_block_aac(struct audio_client *ac,
|
||||
struct asm_aac_cfg *cfg);
|
||||
|
||||
int q6asm_media_format_block_amrwbplus(struct audio_client *ac,
|
||||
struct asm_amrwbplus_cfg *cfg);
|
||||
|
||||
int q6asm_media_format_block_multi_aac(struct audio_client *ac,
|
||||
struct asm_aac_cfg *cfg);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user