我有一个场景,我在系统上有不同的声卡。我想以这样一种方式在不同的声卡上播放音频流,如果一个声卡正在播放音频,另一个将不会播放它。
假设我有soundcards A, B and C
而且我有音频流Audio1,Audio2,Audio3
我想
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.
在这种情况下,我将如何使用 Java 操作不同的声音驱动程序。我使用的操作系统是 Windows。如果有人在这方面帮助我,我将不胜感激。