-
Notifications
You must be signed in to change notification settings - Fork 0
Description
same isuue here.
I used this method.
public String convertMp3ToWav(String file, String outFile) { //mp3, output wav path
checkForInvalidSpaces(file); checkForInvalidSpaces(outFile);
ArrayList<String> cmd = new ArrayList<String>();
cmd.add(soxBin);
cmd.add(file); // mp3
cmd.add(outFile); // wave path
int rc = execSox(cmd, callback);
if(rc != 0) {
// Log.e(TAG, "combineMix received non-zero return code!");
outFile = null;
}
return outFile;
}
2024-01-12 11:54:44.794 17423-17748 SOX com.jystudio.sound.pjt V sox /data/user/0/com.jystudio.sound.pjt/files/666.mp3 /data/user/0/com.jystudio.sound.pjt/files/record_cpy3.wav
2024-01-12 11:54:44.815 17423-17748 VTech_SE0877 com.jystudio.sound.pjt E no handler for file extension `mp3'
2024-01-12 11:54:44.816 17423-17748 VTech_SE0877 com.jystudio.sound.pjt W Your LibSox has been exited
2024-01-12 11:54:44.826 17423-17748 libMEOW com.jystudio.sound.pjt D meow new tls: 0xb4000076ea267f80
2024-01-12 11:54:44.826 17423-17748 libMEOW com.jystudio.sound.pjt D applied 1 plugins for [com.jystudio.sound.pjt]:
2024-01-12 11:54:44.826 17423-17748 libMEOW com.jystudio.sound.pjt D plugin 1: [libMEOW_semaphore]:
2024-01-12 11:54:44.827 17423-17748 libEGL com.jystudio.sound.pjt E validate_display:537 error 3008 (EGL_BAD_DISPLAY)
2024-01-12 11:54:44.934 17423-17423 libc com.jystudio.sound.pjt A FORTIFY: pthread_mutex_lock called on a destroyed mutex (0x7860578ce8)
sox /data/user/0/com.jystudio.sound.pjt/files/666.mp3 /data/user/0/com.jystudio.sound.pjt/files/record_cpy3.wav
i never use getExternalStorageDirectory
i used path = getFilesDir() + "";
and already make sure permission for need to all