mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-04-01 07:15:28 -04:00
topology: avoid to use the atoi() directly when expected
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
9e2bbccfcc
commit
f373bf1f6e
9 changed files with 150 additions and 133 deletions
|
|
@ -280,6 +280,8 @@ struct tplg_elem *tplg_elem_lookup(struct list_head *base,
|
|||
struct tplg_elem* tplg_elem_new_common(snd_tplg_t *tplg,
|
||||
snd_config_t *cfg, const char *name, enum snd_tplg_type type);
|
||||
|
||||
int tplg_get_integer(snd_config_t *n, int *val, int base);
|
||||
|
||||
int tplg_parse_channel(snd_tplg_t *tplg ATTRIBUTE_UNUSED,
|
||||
snd_config_t *cfg, void *private);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue