aspose file tools
The moose likes Android and the fly likes How to calculate FrameLength without using AudioSystem? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "How to calculate FrameLength without using AudioSystem?" Watch "How to calculate FrameLength without using AudioSystem?" New topic
Author

How to calculate FrameLength without using AudioSystem?

Ayden Kim
Greenhorn

Joined: Feb 10, 2011
Posts: 5
I'm porting Java project to Android.

As you know, the Android does not have javax.sound package.

I need to calculate frameLength.

My sound file size is 283KB. And frame size is 4 and frame rate is 44100 and sample size in bits is 16.

The frame length was 69632 when I used just pure Java.

Do you know any equation to get this?

Thank you.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19232

I'm sure Greg won't mind if I move this thread to our Android forum.


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to calculate FrameLength without using AudioSystem?
 
Similar Threads
image height&width needed
two questions
Swing layout appears different on 2 Computers with Same OS?
JInternalFrame minimised size
How to calculate size of a java object?