Had the same problem with my Kraken Ultimate. D3 was the only game having this problem with the audio and it was recently as I played last season without problems and running Win11.
End up doing what is in this post and works for me: https://www.reddit.com/r/razer/comments/a0bray/razer_synapse_3_breaks_audio_from_razer_nari/eh8uksj/?utm_source=share&utm_medium=web2x
Basically uninstall everything related to Razer (Synapse, THX, etc.), deleting some folders and registry, reboot and re-install Synapse.
Hope this work for you as did for me.