Obtaining an AudioInputStream.

Java to go!
Java Sound QuickStart

Tony Loton
Listing 1. Obtaining an AudioInputStream.


AudioInputStream stream = AudioSystem
 .getAudioInputStream( new File(fileName) );

AudioFormat format = stream.getFormat();

Featured

Upcoming Events

AppTrends

Sign up for our newsletter.

I agree to this site's Privacy Policy.