A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
How to calculate FrameLength without using AudioSystem?
Joined: Feb 10, 2011
Aug 19, 2011 10:43:38
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?
Joined: Oct 27, 2005
Aug 19, 2011 15:10:19
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:
subject: How to calculate FrameLength without using AudioSystem?
image height&width needed
Swing layout appears different on 2 Computers with Same OS?
JInternalFrame minimised size
How to calculate size of a java object?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013