according to driver you could change the option of microphone, speaker and earphone.
https://tabonitobrasil.us/ you can find a program in the control panel, usually with some sound-related cobblestone. È just invert the options but you have to make sure your sound output is ok where you are using the earphone.