GeeCON Prague 2014*
The moose likes Android and the fly likes How to calculate FrameLength without using AudioSystem? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Mobile » Android
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: 19697
    
  20

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


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
GeeCON Prague 2014
 
subject: How to calculate FrameLength without using AudioSystem?