History

ASoC: topology: ABI - Add configuration for BE & Codec-Codec DAI Links

struct snd_soc_tplg_link_config is defined to configure BE & CC links.

Vedang Patel committed 11 years ago

Commit e2a9df61 parent 7c545b31 file · +17 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/sound/asoc.h+17−0
@@ -395,4 +395,21 @@ struct snd_soc_tplg_pcm { · 394 unmodified lines
395395 struct snd_soc_tplg_stream_caps caps[2]; /* playback and capture for DAI */
396396 } __attribute__((packed));
397397
398+
399+/*
400+ * Describes the BE or CC link runtime supported configs or params
401+ *
402+ * File block representation for BE/CC link config :-
403+ * +-----------------------------------+-----+
404+ * | struct snd_soc_tplg_hdr | 1 |
405+ * +-----------------------------------+-----+
406+ * | struct snd_soc_tplg_link_config | N |
407+ * +-----------------------------------+-----+
408+ */
409+struct snd_soc_tplg_link_config {
410+ __le32 size; /* in bytes of this structure */
411+ __le32 id; /* unique ID - used to match */
412+ struct snd_soc_tplg_stream stream[SND_SOC_TPLG_STREAM_CONFIG_MAX]; /* supported configs playback and captrure */
413+ __le32 num_streams; /* number of streams */
414+} __attribute__((packed));
398415 #endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t