mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
topology: Add C templates structure for building topology from C programs
Define structures that can be used by applications to directly build topology data instead of using text files. The application will build up the topology data by populating the template structures for each object type and then registering the template with the topology core. Signed-off-by: Mengdong Lin <mengdong.lin@intel.com> Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
ab9633d581
commit
1b148ef590
2 changed files with 176 additions and 18 deletions
|
|
@ -39,24 +39,6 @@
|
|||
struct tplg_ref;
|
||||
struct tplg_elem;
|
||||
|
||||
/** Topology object types */
|
||||
enum snd_tplg_type {
|
||||
SND_TPLG_TYPE_TLV = 0, /*!< TLV Data */
|
||||
SND_TPLG_TYPE_MIXER, /*!< Mixer control*/
|
||||
SND_TPLG_TYPE_ENUM, /*!< Enumerated control */
|
||||
SND_TPLG_TYPE_TEXT, /*!< Text data */
|
||||
SND_TPLG_TYPE_DATA, /*!< Private data */
|
||||
SND_TPLG_TYPE_BYTES, /*!< Byte control */
|
||||
SND_TPLG_TYPE_STREAM_CONFIG, /*!< PCM Stream configuration */
|
||||
SND_TPLG_TYPE_STREAM_CAPS, /*!< PCM Stream capabilities */
|
||||
SND_TPLG_TYPE_PCM, /*!< PCM stream device */
|
||||
SND_TPLG_TYPE_DAPM_WIDGET, /*!< DAPM widget */
|
||||
SND_TPLG_TYPE_DAPM_GRAPH, /*!< DAPM graph elements */
|
||||
SND_TPLG_TYPE_BE, /*!< BE DAI link */
|
||||
SND_TPLG_TYPE_CC, /*!< Hostless codec <-> codec link */
|
||||
SND_TPLG_TYPE_MANIFEST, /*!< Topology manifest */
|
||||
};
|
||||
|
||||
struct snd_tplg {
|
||||
|
||||
/* opaque vendor data */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue