diff options
author | Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 2021-04-23 11:15:59 -0700 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2021-05-25 18:26:51 +0200 |
commit | eb514c6bd7ff669ecad6548885be2545fc02fea5 (patch) | |
tree | ace0d7a3d0f1e27165e314d3a42f74a0ce647e67 /topology/pre-processor.h | |
parent | 94eaca13cebede3d99940b8742eae081e0a50671 (diff) | |
download | alsa-utils-eb514c6bd7ff669ecad6548885be2545fc02fea5.tar.gz |
topology: pre-processor: Add a helper function to concat strings
The pre-processor needs to concatinate strings separated
by '.' for building object names from constructor attribute
values and searching for configs with ID's containing strings
separate by '.'. Add a helper function to concat strings in
the specified input format.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'topology/pre-processor.h')
-rw-r--r-- | topology/pre-processor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/topology/pre-processor.h b/topology/pre-processor.h index cac464b..d9f0f3e 100644 --- a/topology/pre-processor.h +++ b/topology/pre-processor.h @@ -30,4 +30,6 @@ void tplg_pp_config_debug(struct tplg_pre_processor *tplg_pp, snd_config_t *cfg) snd_config_t *tplg_find_config(snd_config_t *config, const char *name); int tplg_config_make_add(snd_config_t **config, const char *id, snd_config_type_t type, snd_config_t *parent); + +char *tplg_snprintf(char *fmt, ...); #endif |