Hello I think you need SPDIF mini cable or also Toslink Mini for this specific use
the spdif exist in two format: Classic (90% share market) it’s squared whit 2-4 studs on the sides,
Limited-time deal: Optical Audio Cable 10ft/3M, iVANKY Slim Braided Fiber Audio Cable, Digital Optic Cord,Toslink Cable, Aluminum Shell, Gold-Plated for Sound Bar, TV, PS4, Xbox, Samsung, Vizio - CL3 Rated https://www.amazon.com/dp/B071VYKBPM/ref=cm_sw_r_awdo_dl_T3E8DTW3G7GNQR5VPA03
Spdif Mini 10% market it’s if I remember well one side or maybe both are round Narrow whit a little hole inside ( similar to a jack )
StarTech.com 6 ft. (1.8 m) Toslink to Mini Toslink Cable - Toslink to Mini SPDIF - Audio Cable - Black - Digital Optical Cable (THINTOSMIN6) https://www.amazon.com/dp/B00016W6Y6/ref=cm_sw_r_awdo_4HZPRANE68MGKEYHB62Y
The Right one for Astro gaming mix amp are classic SPDIF.