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:
WORD559 2018-05-12 13:46:51 +01:00
parent aa5bc2e774
commit 841b5e0905

View file

@ -102,7 +102,7 @@ class Module(bumblebee.engine.Module):
found = False
for line in result.split("\n"):
if device in line:
if "<"+device+">" in line:
found = True
continue
if found == False: