Android concat 2 audio (wav or mp3) files
问题 I must concat 2 or more audio (wav or mp3) files and get one audio file. How can I do that in android? Thanks in advance. 回答1: The below code section will work as how many selections have been made.Selection means how much files are selected. Put your two wav files in /sdcard0/SSoftAudioFiles/ as 1.wav and 2.wav. And Just execute this method. public void SSoftAudCombine() { try { String[] selection=new String[2]; selection[0]="1.wav"; selection[1]="2.wav"; DataOutputStream amplifyOutputStream