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
This commit is contained in:
Lennart Poettering 2006-07-16 17:28:41 +00:00
parent 494fa68327
commit b91dd2381b
6 changed files with 10 additions and 0 deletions

View file

@ -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;