From: Vedang Patel Date: Thu, 5 Nov 2015 12:48:18 +0000 (+0800) Subject: topology: ABI - Add name element to snd_soc_tplg_stream X-Git-Tag: v1.1.0~11 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=b73d50fc2b48a07d404c02539fa2f4ad47f7e80b;p=alsa-lib.git topology: ABI - Add name element to snd_soc_tplg_stream For codec-codec links, this struct will be mapped to the DAI links's params, which is struct snd_soc_pcm_stream and it needs a stream name. Signed-off-by: Vedang Patel Signed-off-by: Mengdong Lin Signed-off-by: Jaroslav Kysela --- diff --git a/include/sound/asoc.h b/include/sound/asoc.h index c642855e..c5e08c40 100644 --- a/include/sound/asoc.h +++ b/include/sound/asoc.h @@ -208,6 +208,7 @@ struct snd_soc_tplg_stream_caps { */ struct snd_soc_tplg_stream { __le32 size; /* in bytes of this structure */ + char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; /* Name of the stream */ __le64 format; /* SNDRV_PCM_FMTBIT_* */ __le32 rate; /* SNDRV_PCM_RATE_* */ __le32 period_bytes; /* size of period in bytes */