Click here to find out
I noticed that the custom bluetooth codecs( like the aptX, aptX HD, LDAC, etc.) are not working even if we have devices that support it( like earphones, headphones, soundbars, etc.) For example, I own a Samsung Level U wireless headset, which is compatible of aptX codec, but whenever I connect it with my Mi A1, the codec in Developer options switches itself to SBC.
So, I found a workaround for it on OnePlus 3/3T Device Forum. @theduke7 has created a Magisk module which enables aptX/ aptX HD on One Plus 3. I flashed that module, and Voila! The codecs started working on my phone.
How will this help you?
AptX increases the quality of audio transmitting over bluetooth considerably. So you will be able to hear nearly lossless, CD quality audio from your device.
Just flash the below given Magisk module in Magisk 14.0+ and reboot.
For those who can't find the option,
Go to Settings >> System >> Developer Options >> Bluetooth Audio Codec
Link to the thread
Just thank @theduke7
Before posting, please check whether your wireless bluetooth device supports any of the above mentioned codecs.