ASoC: msm-compress-q6-v2: Set decoder output to 24 bit
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
This commit is contained in:
@@ -1291,7 +1291,7 @@ static int msm_compr_configure_dsp_for_playback
|
||||
struct snd_compr_runtime *runtime = cstream->runtime;
|
||||
struct msm_compr_audio *prtd = runtime->private_data;
|
||||
struct snd_soc_pcm_runtime *soc_prtd = cstream->private_data;
|
||||
uint16_t bits_per_sample = 16;
|
||||
uint16_t bits_per_sample = 24;
|
||||
int dir = IN, ret = 0;
|
||||
struct audio_client *ac = prtd->audio_client;
|
||||
uint32_t stream_index;
|
||||
@@ -2253,7 +2253,7 @@ static int msm_compr_trigger(struct snd_compr_stream *cstream, int cmd)
|
||||
unsigned long flags;
|
||||
int stream_id;
|
||||
uint32_t stream_index;
|
||||
uint16_t bits_per_sample = 16;
|
||||
uint16_t bits_per_sample = 24;
|
||||
|
||||
spin_lock_irqsave(&prtd->lock, flags);
|
||||
if (atomic_read(&prtd->error)) {
|
||||
|
||||
Reference in New Issue
Block a user