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();

Featured

Upcoming Events

AppTrends

Sign up for our newsletter.

I agree to this site's Privacy Policy.