Re: Fwd: Re: GCJ ------ file type not supported by system

Mario Torre <[email protected]> Fri, 29 Aug 2014 10:34:30 +0200
Newsgroups gmane.comp.gcc.java.devel,gmane.comp.java.classpath.devel
Message-ID <[email protected]>
On Fri, 2014-08-29 at 09:07 +0100, Andrew Haley wrote:
> java.lang.IllegalArgumentException: file type not supported by system
>    at javax.sound.sampled.AudioSystem.write(Unknown Source)
>    at com.all.smws.speech. .genSliceFeat(Unknown Source)
>    at com.all.smws.speech.SpeechFilter.getAnnotations(Unknown Source)
>    at com.all.sndsep.segmentation.Segmentor.getNewAnnotations(Unknown
> Source)
>    at com.all.sndsep.segmentation.Segmentor.getNewAnnotations(Unknown
> Source)
>    at com.all.sndsep.segmentation.Segmentor.getNewAnnotations(Unknown
> Source)
>    at com.all.sndsep.segmentation.Segmentor.getAllAnnotations(Unknown
> Source)
>    at com.all.smws.speech.SpeechFilter.getSmwsAnnotations(Unknown
> Source)
>    at com.all.smws.speech.SMWS.getSpeech(Unknown Source)
>    at com.all.onins.oi.stream.OnlineInputStream.run(Unknown Source)
>    at java.lang.Thread.run(Unknown Source)

Just throwing a possible hint to the problem.

The Java Sound API works with system providers. By the look of if, the
provider used under the hood is some SpeechFilter thing, which I don't
think is part of either classpath or gcj.

Try checking the default providers in 

META-INF/services/javax.sound.sampled.spi.AudioFileWriter

Just my two cents, but I won't have time to look it further if this
doesn't work...

Cheers,
Mario