From 370ff1d7cd2468c0d776bd43aa81d2d3c3a63e4a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 21 Sep 2004 20:46:14 +0000 Subject: improve esound module git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@232 fefdeb5f-60dc-0310-8127-8f9354f1896f --- polyp/scache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'polyp/scache.c') diff --git a/polyp/scache.c b/polyp/scache.c index 963a4f86..b17f3242 100644 --- a/polyp/scache.c +++ b/polyp/scache.c @@ -237,7 +237,7 @@ uint32_t pa_scache_get_id_by_name(struct pa_core *c, const char *name) { struct pa_scache_entry *e; assert(c && name); - if (!(e = pa_namereg_get(c, name, PA_NAMEREG_SAMPLE, 1))) + if (!(e = pa_namereg_get(c, name, PA_NAMEREG_SAMPLE, 0))) return PA_IDXSET_INVALID; return e->index; -- cgit