Fixed issue where pulseaudio module could monitor the wrong device if certain pa modules have been loaded (e.g. monitoring 'alsa_output.pci-0000_00_1b.0.analog-stereo.echo-cancel' rather than 'alsa_output.pci-0000_00_1b.0.analog-stereo'
This commit is contained in:
parent
c45dedb0e8
commit
c0f3f47cf1
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class Module(bumblebee.engine.Module):
|
||||||
found = False
|
found = False
|
||||||
|
|
||||||
for line in result.split("\n"):
|
for line in result.split("\n"):
|
||||||
if device in line:
|
if "<"+device+">" in line:
|
||||||
found = True
|
found = True
|
||||||
continue
|
continue
|
||||||
if found == False:
|
if found == False:
|
||||||
|
|
Loading…
Reference in a new issue