<Sound Dev> Line unavailable exceptions still happening with openjdk when acquiring a sourcedataline
i30817 at gmail.com
Wed Mar 24 09:28:16 PDT 2010
Doesn't appear to make a difference.
replaced the first lines by this:
boolean failedSimpleGetLine = false;
AudioFormat format = new AudioFormat(44100, 16, 2, true, false);
SourceDataLine line = null;
// DataLine.Info info = new DataLine.Info(SourceDataLine.class,
line = (SourceDataLine) AudioSystem.getSourceDataLine(format);
It still fails at the last line (reaches the last line).
To clarify the bugs:
1) first it gives a sourcedataline that says it obeys the format, without
2) first bug : then it throws lineunavailableexception when trying to open
3) second bug : however trying the sourcedatalines returned for all mixers
eventually finds a line that just works - if so why wasn't that the line
The saddest thing is that i have pulseaudio installed and a recent version
of openjdk installed. I assumed that was enough to get transparent mixing,
so i removed my special fork of freetts.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sound-dev