summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/modargs.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-09-12 20:12:13 +0000
committerLennart Poettering <lennart@poettering.net>2007-09-12 20:12:13 +0000
commit41378658153585c82eebca83d280b25f684e90c4 (patch)
tree6ac8f1a356571f7776c7666996643e61e890dd69 /src/pulsecore/modargs.h
parentd9c4c9509d34ba89db06ff1252f3da18c6fd623b (diff)
change pa_modargs_get_channel_map() to take an extra argument for specifying the name of the modargs attribute to parse
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1813 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/modargs.h')
-rw-r--r--src/pulsecore/modargs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulsecore/modargs.h b/src/pulsecore/modargs.h
index 77262e1e..aa175885 100644
--- a/src/pulsecore/modargs.h
+++ b/src/pulsecore/modargs.h
@@ -49,8 +49,8 @@ int pa_modargs_get_value_boolean(pa_modargs *ma, const char *key, int *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);
-/* Return channel map data from the argument "channel_map" */
-int pa_modargs_get_channel_map(pa_modargs *ma, pa_channel_map *map);
+/* Return channel map data from the argument "channel_map" if name is NULL, otherwise read from the specified argument */
+int pa_modargs_get_channel_map(pa_modargs *ma, const char *name, pa_channel_map *map);
/* Combination of pa_modargs_get_sample_spec() and
pa_modargs_get_channel_map(). Not always suitable, since this routine