Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/41.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone 通过蓝牙播放时,AVAudioPlayer不流畅_Iphone_Audio - Fatal编程技术网

Iphone 通过蓝牙播放时,AVAudioPlayer不流畅

Iphone 通过蓝牙播放时,AVAudioPlayer不流畅,iphone,audio,Iphone,Audio,我使用AVAudioPlayer播放音乐文件。它只是在iPhone机身上通过耳机或扬声器播放时工作良好。但通过蓝牙播放时不流畅。为什么? 这是我的密码: AVAudioPlayer *newMusicPlayer = [[AVAudioPlayer alloc] initWithData:musicData error:&error]; if (!newMusicPlayer) { } else { [newMusicPlayer play]; } 特价thx 这是苹果在运行i

我使用AVAudioPlayer播放音乐文件。它只是在iPhone机身上通过耳机或扬声器播放时工作良好。但通过蓝牙播放时不流畅。为什么?

这是我的密码:

AVAudioPlayer *newMusicPlayer = [[AVAudioPlayer alloc] initWithData:musicData error:&error];
if (!newMusicPlayer)
{
}
else
{
    [newMusicPlayer play];
}

特价thx

这是苹果在运行ios5.1.1的3GS上的一个bug,因为“音乐”也不流畅