Android Question Artest for mp3 files

Enthousiastic

Active Member
Licensed User
Hello , in artest example from the forum if i want the audio to be in mp3 format , beyond the lines 79,80,84 176 , that i shall change to "test.mp3" , how shall i change the WriteWavHeader sub ( called from here WriteMp3Header ) and UpdateHeader ?


PS : I want to record some seminars that last 1-2 hours with the above program .Will be proper and the quality of sound will be good ?

Many thanks Enthousiastic
 

Attachments

stevel05

Expert
Licensed User
It's not as simple as that, MP3 is a compressed file format, there is not currently a library to compress to MP3 on the fly. You will have to save as a Wav file then use Warwounds Liblame encoder to convert the file see here: http://www.b4x.com/android/forum/threads/22969
 
Top