PipeWire is a server for processing audio, video streams and hardware on Linux. It is a more modern alternative to pulseaudio. Since PipeWire has a compatibility module for pulseaudio, it can run smoothly in pulseaudio compatible applications.
Why PipeWire instead of pulseaudio ?

Yesterday, we tried to run the microphone that my friend uses for podcast recording on his computer with Pardus 21 installed. We couldn't get the microphone to work properly with pulseaudio. Then I plugged it into my own computer (completely the same brand and model laptop) that I used with PipeWire installed and realized that it was working. I suggested installing PipeWire on my friend's computer. We installed PipeWire, but this time we noticed that the bluetooth headset was not working. On top of that, with plenty of forums, wiki research, and a little luck, we found the source of the problem and fixed it. He also uses PipeWire now.
We are preparing this article with the aim of being a guide for those who have the problem we are experiencing.
Setup
By default, pulseaudio is installed in Pardus 21. In this article, we will explain how to delete pulseaudio and install pipewire instead.
pipewire-pulse s pulse audio First of all, because it causes conflict pulse audio Let's delete the package.
apt purge pulseaudio pulseaudio-module-bluetooth
Wireplumber Let's enable the backports repository as the package is only provided with backports.
cat > /etc/apt/sources.list.d/twentybir-backports.list << EOF deb http://depo.pardus.org.tr/backports twenty-bir-backports main contrib non-free EOF apt update
I suggest you to update the whole system from the backports repository. (Optional)
cat > /etc/apt/preferences.d/twenty-one-backports_default << EOF Package: * Pin: release n=twenty-one-backports Pin-Priority: 500 EOF
apt update apt full-upgrade
Now if you are asking pipewire Let's load it.
apt install -t twenty-bir-backports pipewire wireplumber pipewire-pulse libspa-0.2-bluetooth
Note: libspa-0.2-bluetooth package bluetooth required to use the device. Bluetooth If you don't use it, you don't have to install it.
Finally, let's reboot the system. (or pkill -KILL -u $USER You can use the command.)
To make sure it's working wpctl status You can use the command.
References:
https://wiki.debian.org/BluetoothUser
https://wiki.debian.org/PipeWire
https://turkman.gitlab.io/devel/doc/wiki/02-donanim/02-coklu-ortam/00-pipewire.html