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

Most   Popular
Upcoming Events

AppTrends

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.