xiao-xiao-

阿里云TTS重播报pointer being freed was not allocated错误

在集成阿里云TTS的时候,在上次语音尚未播放完毕的时候,点击重播按钮,重新初始化转换播放,多次点击重新按钮,会在-(void)cleanup方法的AudioQueueFreeBuffer(audioQueue, audioQueueBuffers[i])代码行,崩溃,控制台报错 pointer being freed was not allocated.
把xib中的重播按钮删掉,在xcode11中重新创建该按钮,重新创建连线事件,不再复现该报错.
暂不清楚原理为何.
另:在xcode10中依然会崩,在xcode11中未能复现.

发表于 2019-10-07 23:14  xiao~xiao~  阅读(207)  评论(0编辑  收藏  举报
 

分类:

技术点:

相关文章:

  • 2021-11-12
  • 2021-11-17
  • 2022-12-23
  • 2021-11-23
  • 2021-11-29
  • 2021-07-02
  • 2022-01-15
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-02
  • 2021-11-03
  • 2021-12-26
  • 2022-02-01
相关资源
相似解决方案