iOS - AudioOutputUnitStop results in app freeze and warning

南楼画角 提交于 2019-12-23 10:19:42

问题


sometimes the execution of

AudioOutputUnitStop(inputUnit)

results in the app to be freezed for about 10/15 seconds and the following console message:

WARNING:   [0x3b58918c] AURemoteIO.cpp:1225: Stop: AURemoteIO::Stop: error 0x10004003 calling TerminateOwnIOThread

Such code is handled by the Novocaine library and in particular it occurs in the [Novocaine pause] method which I invoke to stop the execution of the playback of an audio file (https://github.com/alexbw/novocaine/blob/master/Novocaine/Novocaine.m).

Any hint is really appreciated!

Thanks, DAN

来源:https://stackoverflow.com/questions/19620337/ios-audiooutputunitstop-results-in-app-freeze-and-warning

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!