mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-04-01 07:15:28 -04:00
topology: add parser to the tplg_table
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
4f076f5b69
commit
4a0efdc873
3 changed files with 47 additions and 81 deletions
|
|
@ -199,6 +199,8 @@ struct map_elem {
|
|||
/* mapping table */
|
||||
struct tplg_table {
|
||||
const char *name;
|
||||
const char *id;
|
||||
const char *id2;
|
||||
off_t loff;
|
||||
size_t size;
|
||||
int type;
|
||||
|
|
@ -206,6 +208,7 @@ struct tplg_table {
|
|||
unsigned build: 1;
|
||||
unsigned enew: 1;
|
||||
void (*free)(void *);
|
||||
int (*parse)(snd_tplg_t *tplg, snd_config_t *cfg, void *priv);
|
||||
};
|
||||
|
||||
extern struct tplg_table tplg_table[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue