我目前正在研究一直在听的应用程序。虽然是记录,我有时用CoreAudio在播放AudioServicesPlayAlertSound时产生错误
AudioServicesPlayAlertSound(...);
AudioServicesPlaySystemSound(...);
播放警报声音和振动我注意到,有时,当我把应用程序在后台,而它即将播放或播放声音/振动,它抛出以下错误控制台日志:
Error -10868
其次
ERROR: [0x16e19f000] >aurioc> 807: failed: '!pla' (enable 1, outf< 2 ch, 0 Hz, Float32, non-inter> inf< 2 ch, 0 Hz, Float32, non-inter>)
其次
Error opening capture session. OSStatus error code: 561015905
我试过寻找这些错误,但一直没有实施解决方案的运气。我注意到,当我恢复应用程序时,它不再检测音频。
想法?
我还是得出了同样的结论 - 我需要对此进行更多的测试。但是谢谢你!如果有其他建议出现,我会非常感激他们的声音! :) –