mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -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
|
|
@ -444,6 +444,7 @@ int pa__init(pa_core *c, pa_module*m) {
|
|||
hwdesc[0] ? " (" : "",
|
||||
hwdesc[0] ? hwdesc : "",
|
||||
hwdesc[0] ? ")" : "");
|
||||
u->source->is_hardware = 1;
|
||||
|
||||
u->in_memblocks = pa_xnew0(pa_memblock*, u->in_fragments);
|
||||
|
||||
|
|
@ -485,6 +486,7 @@ int pa__init(pa_core *c, pa_module*m) {
|
|||
hwdesc[0] ? hwdesc : "",
|
||||
hwdesc[0] ? ")" : "");
|
||||
|
||||
u->sink->is_hardware = 1;
|
||||
u->out_memblocks = pa_xmalloc0(sizeof(struct memblock *)*u->out_fragments);
|
||||
|
||||
enable_bits |= PCM_ENABLE_OUTPUT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue