mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
topology: add snd_tplg_create() with flags
Add SND_TPLG_CREATE_VERBOSE and SND_TPLG_CREATE_DAPM_NOSORT flags for the special operations. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
aa1bac2d04
commit
b336aea507
4 changed files with 24 additions and 2 deletions
|
|
@ -771,12 +771,22 @@ enum snd_tplg_type {
|
|||
/** Fit for all user cases */
|
||||
#define SND_TPLG_INDEX_ALL 0
|
||||
|
||||
/** Flags for the snd_tplg_create */
|
||||
#define SND_TPLG_CREATE_VERBOSE (1<<0) /*!< Verbose output */
|
||||
#define SND_TPLG_CREATE_DAPM_NOSORT (1<<1) /*!< Do not sort DAPM objects by index */
|
||||
|
||||
/**
|
||||
* \brief Create a new topology parser instance.
|
||||
* \return New topology parser instance
|
||||
*/
|
||||
snd_tplg_t *snd_tplg_new(void);
|
||||
|
||||
/**
|
||||
* \brief Create a new topology parser instance.
|
||||
* \return New topology parser instance
|
||||
*/
|
||||
snd_tplg_t *snd_tplg_create(int flags);
|
||||
|
||||
/**
|
||||
* \brief Free a topology parser instance.
|
||||
* \param tplg Topology parser instance
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue