This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]