It works the same way with the Shanling M0. If you add an Optical convertor to it it outputs a signal. I'm surprised the M3X does not allow that?
If you are interested in trying - I have this working with a Cubilux USB Type C to TOSLINK Optical Audio Adapter, SPDIF Digital Converter