java - how to get continous music to play -



java - how to get continous music to play -

in previous programme created set in music , 1 wokring on wanted set in music again. copied code previous programme made , i'm getting error of:

fileinputstream cannot resolved type

the code used here:

public static void audio() { seek { musicaudio = new audiostream(new fileinputstream("c:/users/karman/desktop/comp_sci/muss.wav")); sounddata = musicaudio.getdata(); sound = new continuousaudiodatastream(sounddata); } catch(exception e) { e.printstacktrace(); system.out.println("warning: sound file cannot supported."); } audio2.start(audio); }

this in method main method. , @ top used this:

public static audioplayer audio2= audioplayer.player; public static audiostream musicaudio, soundaudio; public static audiodata sounddata; public static continuousaudiodatastream sound = null;

java music joptionpane

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -