我目前正在研究一直在聽的應用程序。雖然是記錄,我有時用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
我試過尋找這些錯誤,但一直沒有實施解決方案的運氣。我注意到,當我恢復應用程序時,它不再檢測音頻。
想法?
我還是得出了同樣的結論 - 我需要對此進行更多的測試。但是謝謝你!如果有其他建議出現,我會非常感激他們的聲音! :) –