]> git.alsa-project.org Git - alsa-lib.git/commitdiff
topology: ABI - Add name element to snd_soc_tplg_stream
authorVedang Patel <vedang.patel@intel.com>
Thu, 5 Nov 2015 12:48:18 +0000 (20:48 +0800)
committerJaroslav Kysela <perex@perex.cz>
Thu, 5 Nov 2015 13:53:24 +0000 (14:53 +0100)
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 <vedang.patel@intel.com>
Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
include/sound/asoc.h

index c642855e4b0c256ea0ea387fb850230694c4e8a1..c5e08c402d16142211d60e52cae1914e3f0cb28a 100644 (file)
@@ -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 */