adrielcafe / AndroidAudioConverter

Convert audio files inside your Android app easily. Supported formats: AAC, MP3, M4A, WMA, WAV and FLAC.
1.33k stars 254 forks source link

File converted is only of size 21KB #12

Open ghost opened 7 years ago

ghost commented 7 years ago

Hi,

I am trying to convert the file with following code

File flacFile = new File(filePath); AndroidAudioConverter.with(context) // Your current audio file .setFile(flacFile) // Your desired audio format .setFormat(AudioFormat.MP3) .setCallback(callback) // Start conversion .convert();

Before conversion file was of size 71 KB approx. and after converting file size reduced to 21 KB. Also recorded audio length is also decreased. Infact every file's size reduced to 21KB only .

Why is audio length reduced ?

Thanks in advance

wayonEmes commented 6 years ago

i have the same problem with you, and I found my source and my target file is same,I revise it, the problem is solved

mayank1513 commented 5 years ago

How do you set the target file?