ALSA project - the C library reference: /builddir/build/BUILD/alsa-lib-1.1.3/include/topology.h Source File

ALSA project - the C library reference

- Main Page
- Related Pages
- Modules
- Data Structures
- Files
- Examples

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
topology.h
1 /*
2 *
3 * This library is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU Lesser General Public License as
5 * published by the Free Software Foundation; either version 2.1 of
6 * the License, or (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with this library; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 *
17 * Copyright (C) 2015 Intel Corporation
18 *
19 */
20
21 #ifndef __ALSA_TOPOLOGY_H
22 #define __ALSA_TOPOLOGY_H
23
24 #include <stdint.h>
25
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29
727 #define SND_TPLG_MAX_CHAN 8
728
730 typedef struct snd_tplg snd_tplg_t;
731
733 enum snd_tplg_type {
734 SND_TPLG_TYPE_TLV = 0,
735 SND_TPLG_TYPE_MIXER,
736 SND_TPLG_TYPE_ENUM,
737 SND_TPLG_TYPE_TEXT,
738 SND_TPLG_TYPE_DATA,
739 SND_TPLG_TYPE_BYTES,
740 SND_TPLG_TYPE_STREAM_CONFIG,
741 SND_TPLG_TYPE_STREAM_CAPS,
742 SND_TPLG_TYPE_PCM,
743 SND_TPLG_TYPE_DAPM_WIDGET,
744 SND_TPLG_TYPE_DAPM_GRAPH,
745 SND_TPLG_TYPE_BE,
746 SND_TPLG_TYPE_CC,
747 SND_TPLG_TYPE_MANIFEST,
748 SND_TPLG_TYPE_TOKEN,
749 SND_TPLG_TYPE_TUPLE,
750 SND_TPLG_TYPE_LINK,
751 SND_TPLG_TYPE_HW_CONFIG,
752 SND_TPLG_TYPE_DAI,
753 };
754
759 snd_tplg_t *snd_tplg_new(void);
760
765 void snd_tplg_free(snd_tplg_t *tplg);
766
774 int snd_tplg_build_file(snd_tplg_t *tplg, const char *infile,
775 const char *outfile);
776
782 void snd_tplg_verbose(snd_tplg_t *tplg, int verbose);
783
787 struct snd_tplg_tlv_template {
788 int type;
789 };
790
794 struct snd_tplg_tlv_dbscale_template {
795 struct snd_tplg_tlv_template hdr;
796 int min;
797 int step;
798 int mute;
799 };
800
804 struct snd_tplg_channel_elem {
805 int size;
806 int reg;
807 int shift;
808 int id;
809 };
810
814 struct snd_tplg_channel_map_template {
815 int num_channels;
816 struct snd_tplg_channel_elem channel[SND_TPLG_MAX_CHAN];
817 };
818
822 struct snd_tplg_pdata_template {
823 unsigned int length;
824 const void *data;
825 };
826
830 struct snd_tplg_io_ops_template {
831 int get;
832 int put;
833 int info;
834 };
835
839 struct snd_tplg_ctl_template {
840 int type;
841 const char *name;
842 int access;
843 struct snd_tplg_io_ops_template ops;
844 struct snd_tplg_tlv_template *tlv;
845 };
846
850 struct snd_tplg_mixer_template {
851 struct snd_tplg_ctl_template hdr;
852 struct snd_tplg_channel_map_template *map;
853 int min;
854 int max;
855 int platform_max;
856 int invert;
857 struct snd_soc_tplg_private *priv;
858 };
859
863 struct snd_tplg_enum_template {
864 struct snd_tplg_ctl_template hdr;
865 struct snd_tplg_channel_map_template *map;
866 int items;
867 int mask;
868 const char **texts;
869 const int **values;
870 struct snd_soc_tplg_private *priv;
871 };
872
876 struct snd_tplg_bytes_template {
877 struct snd_tplg_ctl_template hdr;
878 int max;
879 int mask;
880 int base;
881 int num_regs;
882 struct snd_tplg_io_ops_template ext_ops;
883 struct snd_soc_tplg_private *priv;
884 };
885
889 struct snd_tplg_graph_elem {
890 const char *src;
891 const char *ctl;
892 const char *sink;
893 };
894
898 struct snd_tplg_graph_template {
899 int count;
900 struct snd_tplg_graph_elem elem[0];
901 };
902
906 struct snd_tplg_widget_template {
907 int id;
908 const char *name;
909 const char *sname;
910 int reg;
911 int shift;
912 int mask;
913 int subseq;
914 unsigned int invert;
915 unsigned int ignore_suspend;
916 unsigned short event_flags;
917 unsigned short event_type;
918 struct snd_soc_tplg_private *priv;
919 int num_ctls;
920 struct snd_tplg_ctl_template *ctl[0];
921 };
922
926 struct snd_tplg_stream_template {
927 const char *name;
928 int format;
929 int rate;
930 int period_bytes;
931 int buffer_bytes;
932 int channels;
933 };
934
938 struct snd_tplg_stream_caps_template {
939 const char *name;
940 uint64_t formats;
941 unsigned int rates;
942 unsigned int rate_min;
943 unsigned int rate_max;
944 unsigned int channels_min;
945 unsigned int channels_max;
946 unsigned int periods_min;
947 unsigned int periods_max;
948 unsigned int period_size_min;
949 unsigned int period_size_max;
950 unsigned int buffer_size_min;
951 unsigned int buffer_size_max;
952 unsigned int sig_bits;
953 };
954
958 struct snd_tplg_pcm_template {
959 const char *pcm_name;
960 const char *dai_name;
961 unsigned int pcm_id;
962 unsigned int dai_id;
963 unsigned int playback;
964 unsigned int capture;
965 unsigned int compress;
966 struct snd_tplg_stream_caps_template *caps[2];
967 unsigned int flag_mask;
968 unsigned int flags;
969 struct snd_soc_tplg_private *priv;
970 int num_streams;
971 struct snd_tplg_stream_template stream[0];
972 };
973
978 struct snd_tplg_hw_config_template {
979 int id; /* unique ID - - used to match */
980 unsigned int fmt; /* SND_SOC_DAI_FORMAT_ format value */
981 unsigned char clock_gated; /* 1 if clock can be gated to save power */
982 unsigned char invert_bclk; /* 1 for inverted BCLK, 0 for normal */
983 unsigned char invert_fsync; /* 1 for inverted frame clock, 0 for normal */
984 unsigned char bclk_master; /* 1 for master of BCLK, 0 for slave */
985 unsigned char fsync_master; /* 1 for master of FSYNC, 0 for slave */
986 unsigned char mclk_direction; /* 0 for input, 1 for output */
987 unsigned short reserved; /* for 32bit alignment */
988 unsigned int mclk_rate; /* MCLK or SYSCLK freqency in Hz */
989 unsigned int bclk_rate; /* BCLK freqency in Hz */
990 unsigned int fsync_rate; /* frame clock in Hz */
991 unsigned int tdm_slots; /* number of TDM slots in use */
992 unsigned int tdm_slot_width; /* width in bits for each slot */
993 unsigned int tx_slots; /* bit mask for active Tx slots */
994 unsigned int rx_slots; /* bit mask for active Rx slots */
995 unsigned int tx_channels; /* number of Tx channels */
996 unsigned int *tx_chanmap; /* array of slot number */
997 unsigned int rx_channels; /* number of Rx channels */
998 unsigned int *rx_chanmap; /* array of slot number */
999 };
1000
1005 struct snd_tplg_dai_template {
1006 const char *dai_name;
1007 unsigned int dai_id;
1008 unsigned int playback;
1009 unsigned int capture;
1010 struct snd_tplg_stream_caps_template *caps[2];
1011 unsigned int flag_mask;
1012 unsigned int flags;
1013 struct snd_soc_tplg_private *priv;
1015 };
1016
1020 struct snd_tplg_link_template {
1021 const char *name;
1022 int id;
1023 const char *stream_name;
1025 int num_streams;
1026 struct snd_tplg_stream_template *stream;
1028 struct snd_tplg_hw_config_template *hw_config;
1029 int num_hw_configs; /* number of hw configs */
1030 int default_hw_config_id; /* default hw config ID for init */
1031
1032 unsigned int flag_mask; /* bitmask of flags to configure */
1033 unsigned int flags; /* SND_SOC_TPLG_LNK_FLGBIT_* flag value */
1034 struct snd_soc_tplg_private *priv;
1035 };
1036
1040 typedef struct snd_tplg_obj_template {
1041 enum snd_tplg_type type;
1042 int index;
1043 int version;
1044 int vendor_type;
1045 union {
1046 struct snd_tplg_widget_template *widget;
1047 struct snd_tplg_mixer_template *mixer;
1048 struct snd_tplg_bytes_template *bytes_ctl;
1049 struct snd_tplg_enum_template *enum_ctl;
1050 struct snd_tplg_graph_template *graph;
1051 struct snd_tplg_pcm_template *pcm;
1052 struct snd_tplg_link_template *link;
1053 struct snd_tplg_dai_template *dai;
1054 };
1055 } snd_tplg_obj_template_t;
1056
1063 int snd_tplg_add_object(snd_tplg_t *tplg, snd_tplg_obj_template_t *t);
1064
1071 int snd_tplg_build(snd_tplg_t *tplg, const char *outfile);
1072
1080 int snd_tplg_set_manifest_data(snd_tplg_t *tplg, const void *data, int len);
1081
1088 int snd_tplg_set_version(snd_tplg_t *tplg, unsigned int version);
1089
1090 /* \} */
1091
1092 #ifdef __cplusplus
1093 }
1094 #endif
1095
1096 #endif /* __ALSA_TOPOLOGY_H */
SND_TPLG_TYPE_TEXT
Definition: topology.h:737
snd_tplg_bytes_template::priv
struct snd_soc_tplg_private * priv
Definition: topology.h:883
snd_tplg_graph_elem::ctl
const char * ctl
Definition: topology.h:891
snd_tplg_stream_caps_template::name
const char * name
Definition: topology.h:939
snd_tplg_stream_template::rate
int rate
Definition: topology.h:929
snd_tplg_stream_caps_template::formats
uint64_t formats
Definition: topology.h:940
snd_tplg_enum_template::items
int items
Definition: topology.h:866
snd_tplg_channel_map_template::channel
struct snd_tplg_channel_elem channel[SND_TPLG_MAX_CHAN]
Definition: topology.h:816
snd_tplg_widget_template::num_ctls
int num_ctls
Definition: topology.h:919
snd_tplg_dai_template::flags
unsigned int flags
Definition: topology.h:1012
snd_tplg_enum_template::values
const int ** values
Definition: topology.h:869
snd_tplg_hw_config_template
Template type to describe a physical link runtime supported hardware config, i.e. hardware audio form...
Definition: topology.h:978
snd_tplg_widget_template::priv
struct snd_soc_tplg_private * priv
Definition: topology.h:918
snd_tplg_dai_template::flag_mask
unsigned int flag_mask
Definition: topology.h:1011
snd_tplg_enum_template
Template type for enumerated control objects.
Definition: topology.h:863
snd_tplg_channel_elem
Definition: topology.h:804
snd_tplg_stream_caps_template::rate_min
unsigned int rate_min
Definition: topology.h:942
snd_tplg_graph_template
Template type for array of DAPM graph elements.
Definition: topology.h:898
SND_TPLG_TYPE_LINK
Definition: topology.h:750
snd_tplg_link_template::stream
struct snd_tplg_stream_template * stream
Definition: topology.h:1026
SND_TPLG_TYPE_CC
Definition: topology.h:746
snd_tplg_widget_template::reg
int reg
Definition: topology.h:910
SND_TPLG_TYPE_MANIFEST
Definition: topology.h:747
snd_tplg_widget_template
Template type for DAPM widget objects.
Definition: topology.h:906
snd_tplg_type
snd_tplg_type
Definition: topology.h:733
snd_tplg_obj_template_t::pcm
struct snd_tplg_pcm_template * pcm
Definition: topology.h:1051
snd_tplg_enum_template::mask
int mask
Definition: topology.h:867
snd_tplg_obj_template_t::enum_ctl
struct snd_tplg_enum_template * enum_ctl
Definition: topology.h:1049
snd_tplg_obj_template_t::bytes_ctl
struct snd_tplg_bytes_template * bytes_ctl
Definition: topology.h:1048
SND_TPLG_TYPE_DAPM_WIDGET
Definition: topology.h:743
snd_tplg_mixer_template::priv
struct snd_soc_tplg_private * priv
Definition: topology.h:857
snd_tplg_enum_template::map
struct snd_tplg_channel_map_template * map
Definition: topology.h:865
SND_TPLG_TYPE_PCM
Definition: topology.h:742
snd_tplg_ctl_template::access
int access
Definition: topology.h:842
SND_TPLG_TYPE_DAI
Definition: topology.h:752
snd_tplg_dai_template::dai_id
unsigned int dai_id
Definition: topology.h:1007
snd_tplg_ctl_template::ops
struct snd_tplg_io_ops_template ops
Definition: topology.h:843
snd_tplg_tlv_dbscale_template::hdr
struct snd_tplg_tlv_template hdr
Definition: topology.h:795
snd_tplg_widget_template::ignore_suspend
unsigned int ignore_suspend
Definition: topology.h:915
snd_tplg_pcm_template::stream
struct snd_tplg_stream_template stream[0]
Definition: topology.h:971
snd_tplg_widget_template::subseq
int subseq
Definition: topology.h:913
snd_tplg_add_object
int snd_tplg_add_object(snd_tplg_t *tplg, snd_tplg_obj_template_t *t)
Register topology template object.
Definition: parser.c:357
SND_TPLG_TYPE_MIXER
Definition: topology.h:735
snd_tplg_new
snd_tplg_t * snd_tplg_new(void)
Create a new topology parser instance.
Definition: parser.c:450
snd_tplg_obj_template_t::widget
struct snd_tplg_widget_template * widget
Definition: topology.h:1046
snd_tplg_ctl_template
Template type for control objects.
Definition: topology.h:839
snd_tplg_mixer_template::platform_max
int platform_max
Definition: topology.h:855
snd_tplg_bytes_template::ext_ops
struct snd_tplg_io_ops_template ext_ops
Definition: topology.h:882
snd_tplg_pdata_template::length
unsigned int length
Definition: topology.h:823
snd_tplg_obj_template_t
Definition: topology.h:1040
snd_tplg_link_template::name
const char * name
Definition: topology.h:1021
snd_tplg_stream_caps_template::buffer_size_max
unsigned int buffer_size_max
Definition: topology.h:951
snd_tplg_widget_template::invert
unsigned int invert
Definition: topology.h:914
snd_tplg_enum_template::priv
struct snd_soc_tplg_private * priv
Definition: topology.h:870
snd_tplg_stream_caps_template::rate_max
unsigned int rate_max
Definition: topology.h:943
snd_tplg_graph_template::count
int count
Definition: topology.h:899
snd_tplg_pcm_template::dai_name
const char * dai_name
Definition: topology.h:960
snd_tplg_widget_template::name
const char * name
Definition: topology.h:908
snd_tplg_stream_template::format
int format
Definition: topology.h:928
SND_TPLG_TYPE_TOKEN
Definition: topology.h:748
snd_tplg_enum_template::hdr
struct snd_tplg_ctl_template hdr
Definition: topology.h:864
snd_tplg_dai_template::caps
struct snd_tplg_stream_caps_template * caps[2]
Definition: topology.h:1010
snd_tplg_t
struct snd_tplg snd_tplg_t
Definition: topology.h:730
snd_tplg_channel_elem::reg
int reg
Definition: topology.h:806
snd_tplg_tlv_dbscale_template
Template type for TLV Scale objects.
Definition: topology.h:794
snd_tplg_obj_template_t::vendor_type
int vendor_type
Definition: topology.h:1044
snd_tplg_widget_template::ctl
struct snd_tplg_ctl_template * ctl[0]
Definition: topology.h:920
snd_tplg_stream_template
Stream configurations.
Definition: topology.h:926
snd_tplg_bytes_template::hdr
struct snd_tplg_ctl_template hdr
Definition: topology.h:877
snd_tplg_free
void snd_tplg_free(snd_tplg_t *tplg)
Free a topology parser instance.
Definition: parser.c:487
snd_tplg_link_template::stream_name
const char * stream_name
Definition: topology.h:1023
snd_tplg_bytes_template::max
int max
Definition: topology.h:878
snd_tplg_pcm_template::capture
unsigned int capture
Definition: topology.h:964
snd_tplg_mixer_template::max
int max
Definition: topology.h:854
snd_tplg_widget_template::shift
int shift
Definition: topology.h:911
snd_tplg_stream_template::buffer_bytes
int buffer_bytes
Definition: topology.h:931
snd_tplg_tlv_dbscale_template::mute
int mute
Definition: topology.h:798
snd_tplg_graph_template::elem
struct snd_tplg_graph_elem elem[0]
Definition: topology.h:900
snd_tplg_bytes_template::num_regs
int num_regs
Definition: topology.h:881
snd_tplg_obj_template_t::mixer
struct snd_tplg_mixer_template * mixer
Definition: topology.h:1047
SND_TPLG_TYPE_DATA
Definition: topology.h:738
SND_TPLG_MAX_CHAN
#define SND_TPLG_MAX_CHAN
Definition: topology.h:727
snd_tplg_link_template::hw_config
struct snd_tplg_hw_config_template * hw_config
Definition: topology.h:1028
snd_tplg_widget_template::event_type
unsigned short event_type
Definition: topology.h:917
snd_tplg_obj_template
Generic Template Object.
snd_tplg_pcm_template
Template type for PCM (FE DAI &amp; DAI links).
Definition: topology.h:958
snd_tplg_enum_template::texts
const char ** texts
Definition: topology.h:868
snd_tplg_build_file
int snd_tplg_build_file(snd_tplg_t *tplg, const char *infile, const char *outfile)
Parse and build topology text file into binary file.
Definition: parser.c:311
snd_tplg_set_version
int snd_tplg_set_version(snd_tplg_t *tplg, unsigned int version)
Set an optional vendor specific version number.
Definition: parser.c:428
snd_tplg_pcm_template::priv
struct snd_soc_tplg_private * priv
Definition: topology.h:969
snd_tplg_stream_caps_template::buffer_size_min
unsigned int buffer_size_min
Definition: topology.h:950
snd_tplg_graph_elem::src
const char * src
Definition: topology.h:890
snd_tplg_obj_template_t::dai
struct snd_tplg_dai_template * dai
Definition: topology.h:1053
snd_tplg_graph_elem
Template type for single DAPM graph element.
Definition: topology.h:889
SND_TPLG_TYPE_STREAM_CONFIG
Definition: topology.h:740
snd_tplg_tlv_dbscale_template::min
int min
Definition: topology.h:796
snd_tplg_verbose
void snd_tplg_verbose(snd_tplg_t *tplg, int verbose)
Enable verbose reporting of binary file output.
Definition: parser.c:435
snd_tplg_pcm_template::caps
struct snd_tplg_stream_caps_template * caps[2]
Definition: topology.h:966
snd_tplg_graph_elem::sink
const char * sink
Definition: topology.h:892
snd_tplg_bytes_template
Template type for TLV Scale objects.
Definition: topology.h:876
snd_tplg_widget_template::id
int id
Definition: topology.h:907
snd_tplg_io_ops_template
Template type for object operations mapping.
Definition: topology.h:830
snd_tplg_mixer_template::hdr
struct snd_tplg_ctl_template hdr
Definition: topology.h:851
snd_tplg_io_ops_template::put
int put
Definition: topology.h:832
snd_tplg_dai_template::capture
unsigned int capture
Definition: topology.h:1009
snd_tplg_mixer_template::map
struct snd_tplg_channel_map_template * map
Definition: topology.h:852
snd_tplg_bytes_template::mask
int mask
Definition: topology.h:879
snd_tplg_pcm_template::flag_mask
unsigned int flag_mask
Definition: topology.h:967
SND_TPLG_TYPE_HW_CONFIG
Definition: topology.h:751
snd_tplg_pcm_template::pcm_id
unsigned int pcm_id
Definition: topology.h:961
snd_tplg_tlv_template
Template type for all TLV objects.
Definition: topology.h:787
len
unsigned int len
Definition: seq_event.h:198
snd_tplg_stream_caps_template::periods_max
unsigned int periods_max
Definition: topology.h:947
snd_tplg_ctl_template::name
const char * name
Definition: topology.h:841
snd_tplg_link_template::id
int id
Definition: topology.h:1022
snd_tplg_dai_template
Template type for physical DAI. It can be used to configure backend DAIs for DPCM.
Definition: topology.h:1005
SND_TPLG_TYPE_STREAM_CAPS
Definition: topology.h:741
SND_TPLG_TYPE_TUPLE
Definition: topology.h:749
snd_tplg_widget_template::mask
int mask
Definition: topology.h:912
snd_tplg_stream_caps_template::periods_min
unsigned int periods_min
Definition: topology.h:946
snd_tplg_stream_caps_template::sig_bits
unsigned int sig_bits
Definition: topology.h:952
SND_TPLG_TYPE_DAPM_GRAPH
Definition: topology.h:744
snd_tplg_widget_template::event_flags
unsigned short event_flags
Definition: topology.h:916
SND_TPLG_TYPE_BE
Definition: topology.h:745
SND_TPLG_TYPE_TLV
Definition: topology.h:734
snd_tplg_channel_elem::shift
int shift
Definition: topology.h:807
snd_tplg_pdata_template::data
const void * data
Definition: topology.h:824
snd_tplg_mixer_template::invert
int invert
Definition: topology.h:856
snd_tplg_pcm_template::num_streams
int num_streams
Definition: topology.h:970
snd_tplg_tlv_template::type
int type
Definition: topology.h:788
snd_tplg_channel_elem::size
int size
Definition: topology.h:805
snd_tplg_obj_template_t::graph
struct snd_tplg_graph_template * graph
Definition: topology.h:1050
snd_tplg_link_template
Template type for physical DAI Links.
Definition: topology.h:1020
snd_tplg_mixer_template
Template type for mixer control objects.
Definition: topology.h:850
snd_tplg_link_template::num_streams
int num_streams
Definition: topology.h:1025
snd_tplg_dai_template::priv
struct snd_soc_tplg_private * priv
Definition: topology.h:1013
snd_tplg_obj_template_t::link
struct snd_tplg_link_template * link
Definition: topology.h:1052
snd_tplg_stream_caps_template::channels_min
unsigned int channels_min
Definition: topology.h:944
snd_tplg_stream_template::name
const char * name
Definition: topology.h:927
snd_tplg_widget_template::sname
const char * sname
Definition: topology.h:909
snd_tplg_pcm_template::dai_id
unsigned int dai_id
Definition: topology.h:962
snd_tplg_set_manifest_data
int snd_tplg_set_manifest_data(snd_tplg_t *tplg, const void *data, int len)
Attach private data to topology manifest.
Definition: parser.c:413
snd_tplg_pcm_template::playback
unsigned int playback
Definition: topology.h:963
snd_tplg_ctl_template::type
int type
Definition: topology.h:840
snd_tplg_stream_template::channels
int channels
Definition: topology.h:932
snd_tplg_channel_map_template::num_channels
int num_channels
Definition: topology.h:815
snd_tplg_stream_caps_template::period_size_min
unsigned int period_size_min
Definition: topology.h:948
snd_tplg_channel_map_template
Template type for channel mapping.
Definition: topology.h:814
snd_tplg_link_template::priv
struct snd_soc_tplg_private * priv
Definition: topology.h:1034
snd_tplg_stream_caps_template::period_size_max
unsigned int period_size_max
Definition: topology.h:949
snd_tplg_pcm_template::compress
unsigned int compress
Definition: topology.h:965
snd_tplg_mixer_template::min
int min
Definition: topology.h:853
snd_tplg_dai_template::playback
unsigned int playback
Definition: topology.h:1008
snd_tplg_stream_caps_template::channels_max
unsigned int channels_max
Definition: topology.h:945
snd_tplg_ctl_template::tlv
struct snd_tplg_tlv_template * tlv
Definition: topology.h:844
snd_tplg_bytes_template::base
int base
Definition: topology.h:880
snd_tplg_io_ops_template::info
int info
Definition: topology.h:833
snd_tplg_pcm_template::flags
unsigned int flags
Definition: topology.h:968
snd_tplg_build
int snd_tplg_build(snd_tplg_t *tplg, const char *outfile)
Build all registered topology data into binary file.
Definition: parser.c:384
snd_tplg_tlv_dbscale_template::step
int step
Definition: topology.h:797
SND_TPLG_TYPE_BYTES
Definition: topology.h:739
snd_tplg_stream_caps_template::rates
unsigned int rates
Definition: topology.h:941
snd_tplg_obj_template_t::index
int index
Definition: topology.h:1042
snd_tplg_dai_template::dai_name
const char * dai_name
Definition: topology.h:1006
snd_tplg_pdata_template
Template type for private data objects.
Definition: topology.h:822
snd_tplg_channel_elem::id
int id
Definition: topology.h:808
snd_tplg_stream_caps_template
Stream Capabilities.
Definition: topology.h:938
snd_tplg_stream_template::period_bytes
int period_bytes
Definition: topology.h:930
snd_tplg_obj_template_t::version
int version
Definition: topology.h:1043
SND_TPLG_TYPE_ENUM
Definition: topology.h:736
snd_tplg_pcm_template::pcm_name
const char * pcm_name
Definition: topology.h:959