I have a scenario in which I have different soundcards on a system. I want to play audiostreams on different soundcards in such a way that if one soundcard is playing audio, other will not play it.
Let say I have
soundcards A, B and C
And I have Audio Streams
Soundcard A to play Audio2, meanwhile Soundcard B and C wont play the audio.
Soundcard B to play Audio3, meanwhile Soundcard A and C wont play the audio.
Soundcard A to play Audio2, meanwhile Soundcard A and B wont play the audio.
How would I manipulate the different sound drivers in this case using Java.
The OS I am using is Windows. I would be grateful if someone helps me in this regards.