File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Using AudioInputStream in Android
Joined: Feb 10, 2011
Aug 15, 2011 10:58:44
Hi. I'm trying to porting a
project to Android.
But I found that Android does not support javax.sound.
Does anyone know the way to use
-- Java code --
audioInputStream; -- Android does not have
private int samplesContainer;
audioFormat; -- Android has
class, but I don't know it is exactly same as Java
protected int sampleMax = 0;
protected int sampleMin = 0;
protected double biggestSample;
this.audioInputStream = aiStream;
this.audioFormat = audioInputStream.getFormat();
I agree. Here's the link:
subject: Using AudioInputStream in Android
Java Sound distorted/choppy/repeating on playback
Anyway to convert this to a method...?
Applet not working
Quit audio before application exits.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014