From c2f5faef97643ef21ff86308c062165e19bad2c2 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 26 May 2009 20:43:02 +0200 Subject: multichannel: introduce a proper name for the CA_PROP_CANBERRA_FORCE_CHANNEL property --- src/pulse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pulse.c') diff --git a/src/pulse.c b/src/pulse.c index 8351993..1dc542e 100644 --- a/src/pulse.c +++ b/src/pulse.c @@ -801,7 +801,7 @@ int driver_play(ca_context *c, uint32_t id, ca_proplist *proplist, ca_finish_cal goto finish; } - if ((channel = pa_proplist_gets(l, "canberra.force_channel"))) { + if ((channel = pa_proplist_gets(l, CA_PROP_CANBERRA_FORCE_CHANNEL))) { pa_channel_map t; if (!pa_channel_map_parse(&t, channel) || @@ -1119,7 +1119,7 @@ int driver_cache(ca_context *c, ca_proplist *proplist) { goto finish; } - if ((ct = pa_proplist_gets(l, "canberra.force_channel"))) { + if ((ct = pa_proplist_gets(l, CA_PROP_CANBERRA_FORCE_CHANNEL))) { ret = CA_ERROR_NOTSUPPORTED; goto finish; } -- cgit