diff --git a/src/plugins/oss.c b/src/plugins/oss.c index 615ee8f..3fcdbf7 100644 --- a/src/plugins/oss.c +++ b/src/plugins/oss.c @@ -194,7 +194,8 @@ static int _oss_open(OSS * oss) if(oss->fd >= 0) close(oss->fd); - if((p = oss->helper->config_get(NULL, "oss", "mixer")) == NULL) + if((p = oss->helper->config_get(oss->helper->phone, "oss", "mixer")) + == NULL) p = "/dev/mixer"; if((oss->fd = open(p, O_RDWR)) < 0) {