From 841b5e09054d4c2e3ca199fd3ec905ff1ea4822c Mon Sep 17 00:00:00 2001 From: WORD559 Date: Sat, 12 May 2018 13:46:51 +0100 Subject: [PATCH] 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' --- bumblebee/modules/pulseaudio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumblebee/modules/pulseaudio.py b/bumblebee/modules/pulseaudio.py index 3fbb23b..2312545 100644 --- a/bumblebee/modules/pulseaudio.py +++ b/bumblebee/modules/pulseaudio.py @@ -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: