ALSA project - the C library reference
|
Configuration helper functions. More...
Functions | |
int | snd_config_evaluate_string (snd_config_t **dst, const char *s, snd_config_expand_fcn_t fcn, void *private_data) |
Evaluate an math expression in the string. | |
Configuration helper functions.
Configuration string evaluation.
See the simple math expressions page for more details.
int snd_config_evaluate_string | ( | snd_config_t ** | dst, |
const char * | s, | ||
snd_config_expand_fcn_t | fcn, | ||
void * | private_data ) |
Evaluate an math expression in the string.
[out] | dst | The function puts the handle to the new configuration node at the address specified by dst. |
[in] | s | A string to evaluate |
[in] | fcn | A function to get the variable contents |
[in] | private_data | A private value for the variable contents function |