mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-10 13:29:58 -05:00
modargs: New function: pa_modargs_get_value_double().
This commit is contained in:
parent
1b83e3fe5f
commit
ffe6e28ea7
2 changed files with 17 additions and 0 deletions
|
|
@ -45,6 +45,9 @@ int pa_modargs_get_value_u32(pa_modargs *ma, const char *key, uint32_t *value);
|
|||
int pa_modargs_get_value_s32(pa_modargs *ma, const char *key, int32_t *value);
|
||||
int pa_modargs_get_value_boolean(pa_modargs *ma, const char *key, pa_bool_t *value);
|
||||
|
||||
/* Return a module argument as double value in *value */
|
||||
int pa_modargs_get_value_double(pa_modargs *ma, const char *key, double *value);
|
||||
|
||||
/* Return sample spec data from the three arguments "rate", "format" and "channels" */
|
||||
int pa_modargs_get_sample_spec(pa_modargs *ma, pa_sample_spec *ss);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue