Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Feb 2006 17:00:45 +0200
From:      Georgi <drgeorgiev@mail.ru>
To:        "freebsd-java@freebsd.org" <freebsd-java@freebsd.org>
Subject:   javax.sound 
Message-ID:  <op.s5flbjecjffmxs@gg.gg>

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

here is the code for test :


import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.Line;
import javax.sound.sampled.LineUnavailableException;
import javax.sound.sampled.SourceDataLine;
import javax.sound.sampled.TargetDataLine;

public class TestDataLine {
	public static void main(String[] args) throws LineUnavailableException {
		SourceDataLine sdl = (SourceDataLine) AudioSystem.getLine(new  
Line.Info(SourceDataLine.class));
		System.out.println(sdl.getLineInfo());
		TargetDataLine tdl = (TargetDataLine) AudioSystem.getLine(new  
Line.Info(TargetDataLine.class));
		System.out.println(tdl.getLineInfo());
		
	}

}



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