mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
fix module-hal when no api= argument is specified
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1636 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
c1c59b4675
commit
107b23d202
1 changed files with 1 additions and 0 deletions
|
|
@ -360,6 +360,7 @@ static int hal_device_add_all(struct userdata *u, const char *capability) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (n > 0) {
|
if (n > 0) {
|
||||||
|
u->capability = capability;
|
||||||
|
|
||||||
for (i = 0; i < n; i++) {
|
for (i = 0; i < n; i++) {
|
||||||
struct device *d;
|
struct device *d;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue