Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to calculate FrameLength without using AudioSystem?

 
Ayden Kim
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20511
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sure Greg won't mind if I move this thread to our Android forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic