写好的文件,在指定位置插入数据
这里是写好的PCM格式音频,回到文件开头写入WAV文件头
RandomAccessFile raf = new RandomAccessFile(FileName, "rw");
raf.seek(pos);
raf.write(buffer,0,num);
写好的文件,在指定位置插入数据
这里是写好的PCM格式音频,回到文件开头写入WAV文件头
RandomAccessFile raf = new RandomAccessFile(FileName, "rw");
raf.seek(pos);
raf.write(buffer,0,num);