我们如何将短数组转换为音频文件.....
short[] buffer = {
8130,15752,22389,27625,31134,32695,32210,29711,25354,19410,12253,4329,-3865,-11818,-19032,-25055,-29511,-32121,-327,-31276,-27874,-22728,-16160,-8582,-466};
请建议我获取文件的代码
player=new MediaPlayer();
player.setDataSource(file);
上面代码文件中的表示从短数组转换的文件(即缓冲区......)