mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
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:
parent
494fa68327
commit
b91dd2381b
6 changed files with 10 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue