summaryrefslogtreecommitdiff
path: root/Software/PulseAudio/Notes/15.0.mdwn
diff options
context:
space:
mode:
authorTanuKaskinen <TanuKaskinen@web>2021-10-20 14:00:00 +0000
committerIkiWiki <ikiwiki.info>2021-10-20 14:00:00 +0000
commit5e594efbd53a034d356a6de5e18a039a8eb2bfca (patch)
tree314be59107636a2f5f312f068bbf9c1975f44d8c /Software/PulseAudio/Notes/15.0.mdwn
parentfc2768ec0e4d12ab890b7f3e92293859cdd95939 (diff)
Diffstat (limited to 'Software/PulseAudio/Notes/15.0.mdwn')
-rw-r--r--Software/PulseAudio/Notes/15.0.mdwn2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/PulseAudio/Notes/15.0.mdwn b/Software/PulseAudio/Notes/15.0.mdwn
index 4c2bbf58..394ae0fb 100644
--- a/Software/PulseAudio/Notes/15.0.mdwn
+++ b/Software/PulseAudio/Notes/15.0.mdwn
@@ -10,7 +10,7 @@
PulseAudio now supports the LDAC and AptX codecs for A2DP. In order to use them, the device has to support the codecs too. Also "XQ" configuration variants for the old SBC codec are available. The SBC XQ variants have a fixed (and higher than the "normal" SBC) bitrate, so they may have more drop-outs if the wireless connection is bad, but on the other hand the quality is always good if the connection is good. For variable bitrate, pulseaudio is now able to increase the bitrate again after it was reduced due to connectivity issues.
-Switching the codec can be done on the command line with `pactl send-message /card/bluez_card.XX_XX_XX_XX_XX_XX/bluez switch-codec CODEC`. Replace `XX_XX_XX_XX_XX_XX` with the device address, which can be found for example with `LANG=C pactl list cards | grep Name`. Replace `CODEC` with one of the available codec names: `aptx`, `aptx_hd`, `ldac_hq` ("High Quality"), `ldac_sq` ("Standard Quality"), `ldac_mq` ("Mobile Quality"), `sbc`, `sbc_xq_453`, `sbc_xq_512`, `sbc_xq_552`. A list of codecs supported by the device can be obtained with `pactl send-message /card/bluez_card.XX_XX_XX_XX_XX_XX/bluez list-codecs` and the currently active codec can be queried with `pactl send-message /card/bluez_card.XX_XX_XX_XX_XX_XX/bluez get-codec`. A simplified way of switching codecs is already implemented in pavucontrol and will be provided with the next pavucontrol release.
+Switching the codec can be done on the command line with `pactl send-message /card/bluez_card.XX_XX_XX_XX_XX_XX/bluez switch-codec '"CODEC"'` (note the double quotes inside single quotes, this is needed because the server expects the double quotes and without the single quotes the shell would remove the double quotes before the string gets sent to the server). Replace `XX_XX_XX_XX_XX_XX` with the device address, which can be found for example with `LANG=C pactl list cards | grep Name`. Replace `CODEC` with one of the available codec names: `aptx`, `aptx_hd`, `ldac_hq` ("High Quality"), `ldac_sq` ("Standard Quality"), `ldac_mq` ("Mobile Quality"), `sbc`, `sbc_xq_453`, `sbc_xq_512`, `sbc_xq_552`. A list of codecs supported by the device can be obtained with `pactl send-message /card/bluez_card.XX_XX_XX_XX_XX_XX/bluez list-codecs` and the currently active codec can be queried with `pactl send-message /card/bluez_card.XX_XX_XX_XX_XX_XX/bluez get-codec`. A simplified way of switching codecs is already implemented in pavucontrol and will be provided with the next pavucontrol release.
### Support for HFP bluetooth profiles