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

Commit 4b3b0c84 authored by Florian Pfister's avatar Florian Pfister Committed by Gerrit - the friendly Code Review server
Browse files

asoc: add SBC support for BT Sink in dai-driver



Receive SBC stream parameters from IPC library.

Change-Id: I59e938589c912c85aa3b84203ff20c469b978671
Signed-off-by: default avatarFlorian Pfister <fpfister@codeaurora.org>
parent f4fd5f33
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -3231,8 +3231,9 @@ static int msm_dai_q6_afe_dec_cfg_put(struct snd_kcontrol *kcontrol,
			sizeof(struct asm_aac_dec_cfg_v2_t));
		break;
	case DEC_FMT_SBC:
	case DEC_FMT_MP3:
		/* No decoder specific data available */
		memcpy(&dai_data->dec_config.data,
			ucontrol->value.bytes.data + format_size,
			sizeof(struct asm_sbc_dec_cfg_t));
		break;
	default:
		pr_debug("%s: Default decoder config for %d format: Expect abr_dec_cfg\n",