Have a parameter on the sound play function that selects the sound output device, not just the primary sound device.
For example: sound_play(sound_id, device_id)
It would return an error code if the specified device was incorrect (e.g., device id was out of range)
Sound Device Selection for sound_play
-
- Posts: 34
- Joined: Sat Nov 28, 2020 11:41 pm
- Location: Orlando, FL USA