From c0f3f47cf1cade609f2d4457f1574b68aa04ead1 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: