Il giorno dom, 07/03/2010 alle 17.39 -0800, David R. ha scritto: > In my continuing quest to slow down or speed up MP3s without altering > the pitch, I came across mpg123. I am now at the point where I can > compile and run using the libraries, and I get decoded MP3s. > (Hooray!) Unfortunately, I'm at about 0.45x real-time on a G1, which > isn't fast enough. One guy was able to get 20x real-time using libmad > ( http://apistudios.com/hosted/marzec/badlogic/wordpress/?p=231 ) but > I'd prefer not to use that since mpg123 is LGPL while libmad is GPL. > > I'm led to believe that the main advantage of mpg123 is the amount of > code optimized by using assembly. In particular, I want to use the - > DOPT_ARM, but doing so gives the error:
I think the main advantage of libmad is that it uses integer math, while mpg123 uses floating point. This is the reason, for example, libmad was used in Openembedded. Either you convert mpg123 to integer math or use libmad. I believe there is no way to have 40x performance increase only using asm instead of C. Maybe you could achieve 1.2x - 1.3x increase. Bye. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

