DDS? are you able to elaborate more on this? what do you men by DDS? Perhaps DSD? There is SoX modified with PCM to DSD encoding supported https://audiophilestyle.com/forums/topi ... -with-sox/ - sadly to say you need to compile SoX by yourself as seem main SoX repository still not included this jewel within mainline.
I hope ffmpeg will be able to support DSD in future too.