summaryrefslogtreecommitdiff
path: root/src/modules/module-zeroconf-discover.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-02-21 16:32:42 +0100
committerLennart Poettering <lennart@poettering.net>2009-02-21 16:32:42 +0100
commit4505bc9cc6bb1f9206f922a992a9be0e17703df1 (patch)
tree7a98f5c2990b19683dccbfb9128ba1cd5c9bacd9 /src/modules/module-zeroconf-discover.c
parent27bfa607b90b25aa4fdefc0882091093164297a5 (diff)
downloadpulseaudio-4505bc9cc6bb1f9206f922a992a9be0e17703df1.tar.gz
introduce default channel map in addition to the default sample spec
Diffstat (limited to 'src/modules/module-zeroconf-discover.c')
-rw-r--r--src/modules/module-zeroconf-discover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-zeroconf-discover.c b/src/modules/module-zeroconf-discover.c
index 9a867cb51..5123ead89 100644
--- a/src/modules/module-zeroconf-discover.c
+++ b/src/modules/module-zeroconf-discover.c
@@ -162,7 +162,7 @@ static void resolver_cb(
pa_module *m;
ss = u->core->default_sample_spec;
- pa_channel_map_init_extend(&cm, ss.channels, PA_CHANNEL_MAP_DEFAULT);
+ cm = u->core->default_channel_map;
for (l = txt; l; l = l->next) {
char *key, *value;