|
|
|
@ -118,8 +118,8 @@ public class AudioHandleActivity extends BaseActivity { |
|
|
|
|
Mp3Converter mp3Converter = new Mp3Converter(); |
|
|
|
|
mp3Converter.convertToMp3(inputFile, transformFile); |
|
|
|
|
break; |
|
|
|
|
case R.id.btn_cut://剪切(注意原文件与剪切文件格式一致)
|
|
|
|
|
String cutFile = PATH + File.separator + "cut.aac"; |
|
|
|
|
case R.id.btn_cut://剪切(注意原文件与剪切文件格式一致,文件绝对路径最好不包含中文、特殊字符)
|
|
|
|
|
String cutFile = PATH + File.separator + "cut.mp3"; |
|
|
|
|
commandLine = FFmpegUtil.cutAudio(srcFile, 10, 15, cutFile); |
|
|
|
|
break; |
|
|
|
|
case R.id.btn_concat://合并,支持MP3、AAC、AMR等,不支持PCM裸流,不支持WAV(PCM裸流加音频头)
|
|
|
|
|