I have a mixer and I want to gather information on its source lines. My code is as follows.
myMixer = AudioSystem.getMixer(mixerInfo[i]); // index through all list of mixers
Line[] lines = myMixer.getSourceLines();
System.out.println(lines.length);
In the code, I cycle through every mixer on my computer and then I try to get a list of all the source lines. However none of the source lines are open to the mixer. How do I access these lines? System.out.println(lines.length)
always prints 0.