mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
topology: Add ops to bytes control.
Byte controls can also support ops. Add them to the parser. 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
dec428c352
commit
65cb4ffe3c
1 changed files with 8 additions and 0 deletions
|
|
@ -385,6 +385,14 @@ int tplg_parse_control_bytes(snd_tplg_t *tplg,
|
|||
tplg_dbg("\t%s: %s\n", id, val);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (strcmp(id, "ops") == 0) {
|
||||
err = tplg_parse_compound(tplg, n, tplg_parse_ops,
|
||||
&be->hdr);
|
||||
if (err < 0)
|
||||
return err;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue