summaryrefslogtreecommitdiffstats
path: root/src/modules/module-oss.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-07-16 17:28:41 +0000
committerLennart Poettering <lennart@poettering.net>2006-07-16 17:28:41 +0000
commitb91dd2381bffeb0a4b5450ef4ce1f0031909f79a (patch)
tree82fe17222e1adf1affa369a45764d946c43ed0d0 /src/modules/module-oss.c
parent494fa68327fb52276d68437e8467886ce81de297 (diff)
set is_hardware flag for a few hw plugins
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1092 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/modules/module-oss.c')
-rw-r--r--src/modules/module-oss.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/module-oss.c b/src/modules/module-oss.c
index a3ea2c1f..cde7f311 100644
--- a/src/modules/module-oss.c
+++ b/src/modules/module-oss.c
@@ -418,6 +418,7 @@ int pa__init(pa_core *c, pa_module*m) {
hwdesc[0] ? " (" : "",
hwdesc[0] ? hwdesc : "",
hwdesc[0] ? ")" : "");
+ u->source->is_hardware = 1;
} else
u->source = NULL;
@@ -435,6 +436,7 @@ int pa__init(pa_core *c, pa_module*m) {
hwdesc[0] ? " (" : "",
hwdesc[0] ? hwdesc : "",
hwdesc[0] ? ")" : "");
+ u->sink->is_hardware = 1;
} else
u->sink = NULL;