Some phones support audio accessory mode, which is a way to reserve some pins for analog audio signals. In this case, you only need a passive adapter. There's no reason why desktop or laptops computers couldn't support it, too, but if they do, it's rare. So such an adapter is unlikely to work with a computer, and may not work with all phones.
The alternative is an active device, with its own DAC and amplifier. This is more likely to work with all your devices; I'm pretty sure I could connect my desktop computer's external USB headphone amp to my android phone and it'd just work.
The alternative is an active device, with its own DAC and amplifier. This is more likely to work with all your devices; I'm pretty sure I could connect my desktop computer's external USB headphone amp to my android phone and it'd just work.
Details: https://www.soundguys.com/usb-audio-explained-18563/ https://www.androidcentral.com/usb-c-audio