Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Feb 2006 16:41:18 +0200
From:      Georgi <drgeorgiev@mail.ru>
To:        freebsd-java@freebsd.org
Subject:   java 15 ,javax.sound no TargetDataLine
Message-ID:  <op.s5fke4l9jffmxs@gg.gg>

next in thread | raw e-mail | index | archive | help
Hi ,

in java 15 (Java(TM) 2 Runtime Environment, Standard Edition (build  
1.5.0-p2-root_14_feb_200 6_00_10))
i'm not able to get TargetDataLine it's works with java 1.4(Java(TM) 2  
Runtime Environment, Standard Edition (build  
1.4.2-p8-root_22_feb_2006_23_14)) and linux java 1.4 and 1.6 beta

output with java1.5


interface SourceDataLine supporting 8 audio formats
Exception in thread "main" java.lang.IllegalArgumentException: No line  
matching interface TargetDataLine is supported.
         at javax.sound.sampled.AudioSystem.getLine(AudioSystem.java:459)
         at TestDataLine.main(TestDataLine.java:11)



output with java1.4 ,linux java 1.4 and 1.6


interface SourceDataLine supporting 8 audio formats
interface TargetDataLine supporting 72 audio formats

osversion FreeBSD 6.1-PRERELEASE

I'm not sure if this is only in my environment

georgi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.s5fke4l9jffmxs>