Using LAME MP3 library

by PAolooo » Tue, 25 Jan 2011 02:54:56 GMT


Sponsored Links
 I am planning to write an application that can encode audio in MP3. It
seems to me the only way of doing it is to port LAME library. So I saw
that I can either:

1. use Scratchbox to compile the library and write a small JNI
wrapper. Doing so I should be able to use the original Makefile.am
building script of the library
2. Integrate LAME C code directly into my project, and use ndk-build.
But I am slightly frighted I would struggle to make all the code
compile and work

Which would e better?

Thanx
Paolo

-- 



Re: Using LAME MP3 library

by R » Mon, 21 Feb 2011 06:10:59 GMT


 compiling lame for Android ARM using NDK is very easy actually
Here is the link to blog post:
 http://blog.libertadtech.com/2011/02/porting-lame-encoder-to-android-arm.html 




-- 


Sponsored Links


Other Threads

1. Cannot connect to server running in Android

Hi Folks,

I have a strange issue and would appreciate if someone can take a
quick look. I'm probably missing here something fundamental.

I'm trying to run 2 emulators. 1 with TCP Server application,
listening on localhost:4444, and the other emulator, running a client,
trying to connect to the first emulator running the server.

For the Server-emulator, I've created a port forwarding from 4444 --->
4444
Telnet to localhost 4444 works just fine, and the server accept
connections.

However, trying to connect to the same server with the other emulator
(on the same machine), fails with:

IOException java.net.ConnectException: 127.0.0.1/127.0.0.1:4444 -
Connection refused

Trying to connect to a different real IP outside the local machine,
works just fine.

Any idea why I'm having such an issue? Is there anything I need to
setup on the client side emulator to make is work?
Maybe it has something to do with loading 2 emulators on the same
machine?
Do I need to load the second emulator with some special params?

Working with recent M5 SDK, on Linux, Fedora 6.

Thanks in advance,
Kobi.
--~--~---------~--~----~------------~-------~--~----~

2. Modified time for Contacts, Phones, and Contact Methods

I know there's _SYNC_DIRTY but are there any plans to implement a last
modified column for People,Phones, ad Contact Methods?  I've written a
half {*filter*} half functional work around for my application.  But, it'd
sure be nice if there were plans in the pipeline to add a time stamp
or version number or something.
--~--~---------~--~----~------------~-------~--~----~

3. Focus will lost

4. problem facing with playing videos in androids

5. All Screen Size...

6. BREAKING - May 5 ADC winners announcement postponed, May 7 likely!

7. BREAKING - May 5 ADC winners announcement postponed, May 7 likely!