Opening the sound output line.

Java to go!
Java Sound QuickStart

Tony Loton
Listing 4. Opening the sound output line.


line = (SourceDataLine)
AudioSystem.getLine(outInfo);
line.open(format, 50000);
line.start();
Upcoming Events