Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
subject: How to calculate FrameLength without using AudioSystem?
Swing layout appears different on 2 Computers with Same OS?
How to calculate size of a java object?
JInternalFrame minimised size
image height&width needed
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013