mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
topology: Parse link flags of physical DAI links
Parse physical DAI link flags defined by text conf file or C API. The flag mask and flags are added to C API template for physical DAI links. Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
f7bf8b0cc8
commit
2894c31816
2 changed files with 41 additions and 0 deletions
|
|
@ -639,6 +639,11 @@ extern "C" {
|
|||
*
|
||||
* default_hw_conf_id "1" #default HW config ID for init
|
||||
*
|
||||
* # Optional boolean flags
|
||||
* symmetric_rates "true"
|
||||
* symmetric_channels "false"
|
||||
* symmetric_sample_bits "true"
|
||||
*
|
||||
* data "name" # optional private data
|
||||
* }
|
||||
* </pre>
|
||||
|
|
@ -988,6 +993,9 @@ struct snd_tplg_link_template {
|
|||
struct snd_tplg_hw_config_template *hw_config; /*!< supported HW configs */
|
||||
int num_hw_configs; /* number of hw configs */
|
||||
int default_hw_config_id; /* default hw config ID for init */
|
||||
|
||||
unsigned int flag_mask; /* bitmask of flags to configure */
|
||||
unsigned int flags; /* SND_SOC_TPLG_LNK_FLGBIT_* flag value */
|
||||
};
|
||||
|
||||
/** \struct snd_tplg_obj_template
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue