Hi!
On my PC at work, I have no sound. When I launch TUER on it, I get this message:
Error: Audio Device unavailable
A LineUnavailableException is thrown here:
asdl[i] = (SourceDataLine)mixer.getLine(infoLine);
if (i >= iMusic)
asdl[i].open(fmtLine, 500000+64000+4096); // not used
else
asdl[i].open(fmtLine, maxSoundLength+4096);
Is there a way of checking if the line is available before calling the method “open”?