Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
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 - OCEEJBD 6
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
How to calculate size of a java object?
JInternalFrame minimised size
Swing layout appears different on 2 Computers with Same OS?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014