From i30817 at gmail.com Wed Feb 4 11:56:52 2009 From: i30817 at gmail.com (Paulo Levi) Date: Wed, 4 Feb 2009 19:56:52 +0000 Subject: Bug in javax.sound.sampled.AudioSystem Message-ID: <212322090902041156i5fb130a5xa96c70b81a34ed51@mail.gmail.com> I think there is a problem in the linux implementation of javax.sound.sampled.AudioSystem.getLine(DataLine.Info info); It throws a line unavailable exception when trying to send data, not on construction. Apparently its just each Line is saying that it supports the AudioFormat when it does no such thing, leading to innumerable exceptions when trying to use freetts in linux. I've worked around it with this http://forums.sun.com/thread.jspa?threadID=5189363, but i'd like the root cause fixed. BTW is FreeTTS dead or undead? Seeing projects like acapela tts with their much higher quality voices in many languages is slightly depressing from my the java is the platform and native is taboo mindset. From i30817 at gmail.com Thu Feb 5 12:49:50 2009 From: i30817 at gmail.com (Paulo Levi) Date: Thu, 5 Feb 2009 20:49:50 +0000 Subject: Bug in AudioSystem.getLine(DataLine.Info info) Message-ID: <212322090902051249y17e4072bgf47c460cbbc6a8f5@mail.gmail.com> I think there is a problem in the linux implementation of javax.sound.sampled.AudioSystem.getLine(DataLine.Info info); It throws a line unavailable exception when trying to send data, not on construction. Apparently its just each Line is saying that it supports the AudioFormat when it does no such thing, leading to innumerable exceptions when trying to use freetts in linux. I've worked around it with this http://forums.sun.com/thread.jspa?threadID=5189363, but i'd like the root cause fixed. BTW is FreeTTS dead or undead? Seeing projects like acapela tts with their much higher quality voices in many languages is slightly depressing from my the java is the platform and native is taboo mindset.