【发布时间】:2020-07-18 10:16:06
【问题描述】:
我在android上使用sox库,我用命令来改变mp3文件的频道
sox /storage/emulated/0/Music/Drivethrough.mp3 -c 1 /storage/emulated/0/Android/data/com.tian.xxx/cache/temp/results.mp3
当我运行它时,显示
can't open input file `1': No such file or directory
我的代码是:
int mymain(int argc, char **argv, const char *tempPath);
不知道为什么?
我用这个方法调用sox https://github.com/pxhbug123/SoxLibInAndroid/blob/master/soxcommandlibrary/src/main/sox/src/JniNative.c#L265
【问题讨论】: