8000
Skip to content

fix(audio): list bluetooth microphones on linux - #424

Merged
Kieirra merged 2 commits into
mainfrom
fix/bluetooth-mic-detection
Aug 19, 2026
Merged

fix(audio): list bluetooth microphones on linux#424
Kieirra merged 2 commits into
mainfrom
fix/bluetooth-mic-detection

Conversation

@Kieirra
@Kieirra Kieirra commented Aug 19, 2026
Copy link
Copy Markdown
Owner

Description

Bluetooth microphones (bluez_input.*) never appeared in the microphone list on Linux because the pactl enumeration required device.class = "sound", a property that only PipeWire's ALSA/udev path sets. The filter now excludes monitor sources instead, so sources without device.class (Bluetooth, and virtual microphones such as NoiseTorch or echo-cancel) are listed. Note: this was not tested manually, there is no Bluetooth headset available on the machine used for this change.

Fixes #421

Type of change

  • Bug fix
  • New feature
  • Enhancement of an existing feature
  • Refactor / code cleanup
  • Documentation
  • Other:

Tested on

  • Windows
  • Linux
  • macOS

Checklist

  • I have read CONTRIBUTING.md and GUIDELINES.md
  • My PR addresses one single concern
  • I tested my changes manually and they work as expected
  • I ran cargo clippy and cargo fmt (if Rust changes)
  • I checked for SonarQube issues on the draft PR

The pactl enumeration only kept sources whose device.class property was
exactly "sound". PipeWire sets that property in its ALSA/udev path only,
the bluez5 plugin never sets it, so every bluez_input.* source was
dropped and Bluetooth headsets never showed up in the microphone list.

Exclude monitor sources instead of requiring device.class = "sound".
Sources without the property are now listed, which also covers virtual
microphones such as NoiseTorch or echo-cancel.
@sonarqubecloud
Copy link
Copy Markdown

@Kieirra
Kieirra marked this pull request as ready for review August 19, 2026 09:15
@Kieirra
Kieirra merged commit 54739be into main Aug 19, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bluetooth microphone (bluez_input) not detected in device list on Linux

1 participant

0