summaryrefslogtreecommitdiffstats
path: root/polyp/polyplib-scache.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-17 19:45:44 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-17 19:45:44 +0000
commit63b35d002aa6902618235e1a30dca37de52ff65e (patch)
tree7db206df74b36c6e2e78df2b758c72dddb49a025 /polyp/polyplib-scache.c
parent07d563d6c304166bd5bd47731a337387316991f6 (diff)
new configuration subsystem
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@210 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/polyplib-scache.c')
-rw-r--r--polyp/polyplib-scache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/polyplib-scache.c b/polyp/polyplib-scache.c
index 8215eaec..7221420c 100644
--- a/polyp/polyplib-scache.c
+++ b/polyp/polyplib-scache.c
@@ -88,7 +88,7 @@ struct pa_operation * pa_context_play_sample(struct pa_context *c, const char *n
o->userdata = userdata;
if (!dev)
- dev = getenv(ENV_DEFAULT_SINK);
+ dev = c->conf->default_sink;
t = pa_tagstruct_new(NULL, 0);
assert(t);