Need Android equivalent of AudioInputStream

All your problems with Audio, Video and Images.

Need Android equivalent of AudioInputStream

Postby wseries » Thu Mar 31, 2011 12:54 pm

how can i do in android ?

AudioInputStream is = AudioSystem.getAudioInputStream(
new BufferedInputStream(
new FileInputStream("raw\\"+word[j][i]+".wav")));
DataLine.Info info = new DataLine.Info(Clip.class, is.getFormat());
Clip clip = (Clip) AudioSystem.getLine(info);
clip.open(is);
clip.start();

thanks.
wseries
Freshman
Freshman
 
Posts: 7
Joined: Mon Feb 28, 2011 1:54 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests