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
REST with Spring (video course)
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...?
Quit audio before application exits.
Applet not working
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015