This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# source: https://bbs.archlinux.org/viewtopic.php?pid=1973004 | |
# prepare via enabling mSBC codec for HSP/HFP: | |
# https://wiki.archlinux.org/title/PipeWire#Low_audio_quality_on_Bluetooth | |
# the `bluez-monitor.conf` is located at: | |
# `/usr/share/pipewire/media-session.d/bluez-monitor.conf` | |
# note that the settings gui needs to be restarted after editing the file and calling | |
# `systemctl --user restart pipewire.service` | |
#msbc=`pactl list | grep Active | grep msbc` |