【发布时间】:2010-12-20 18:31:44
【问题描述】:
我在我的应用程序中使用 SoundPool 在无限循环中播放 android 中的立体声 wav 文件。
我正在使用 setVolume 改变左右声道的声音,像每一秒一样
int looper = 0;
timerhandler()
{
if(looper == 0)
{
soundPool.setVolume(sid, 0, 1) ;
looper = 1;
}
else
{
soundPool.setVolume(sid, 1, 0) ;
looper = 0;
}
}
它在模拟器中运行良好。但在设备上没有获得立体声效果。
有人可以帮助解决可能是什么问题。
【问题讨论】: