public static Audio getAudio(String format, InputStream in) throws IOException {
		init();
		
		if (format.equals(AIF)) {
			return SoundStore.get().getAIF(in);
		}
		if (format.equals(WAV)) {
			return SoundStore.get().getWAV(in);
		}
		if (format.equals(OGG)) {
			return SoundStore.get().getOgg(in);
		}
		
		throw new IOException("Unsupported format for non-streaming Audio: "+format);
	}
public static Audio getAudio ( String format , InputStream in ) throws IOException { init ( ) ; if ( format . equals ( AIF ) ) { return SoundStore . get ( ) . getAIF ( in ) ; } if ( format . equals ( WAV ) ) { return SoundStore . get ( ) . getWAV ( in ) ; } if ( format . equals ( OGG ) ) { return SoundStore . get ( ) . getOgg ( in ) ; } throw new IOException ( "Unsupported format for non-streaming Audio: " + format ) ; }
Get audio data in a playable state by loading the complete audio into
memory.

@param format The format of the audio to be loaded (something like "XM" or "OGG")
@param in The input stream from which to load the audio data
@return An object representing the audio data
@throws IOException Indicates a failure to access the audio data