2
我试图通过带负载的ID在soundpool中打开一个mp3,也试图通过文件描述符来做到这一点。为什么我的mp3会被压缩?
我总是得到相同的异常:
This file can not be opened as a file descriptor; it is probably compressed
为什么我的MP3被压缩?
这里是的Soundpool代码:
mySoundPool = new SoundPool(10, AudioManager.STREAM_MUSIC, 0);
try { mySoundPool.load(this, R.raw.drum, 1);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
Log.e(TAG, "", e);
}
那么为什么它不与soundpool玩?我认为soundpool除了mp3吗? – panthro
发布您的代码。 –
已发布代码 – panthro