GMS 2.3+ Change audio output device at runtime

Hey,

Is there a function for changing audio output device at runtime? What I am trying to implement is a button in the options screen that allows players to change their audio output device. If you run the game and then connect headphones the audio doesn't play until the game is restarted, I would like to avoid this.

Thanks!
 
Top