Wwise:为什么 Wwise 的 iOS 集成演示中 iOS 系统的橙点一直亮着
我使用的是 Wwise 版本 2019.2.8.7432。当我在 iPhone (iOS 14.8.2) 上编译集成演示时,该应用程序在启动时会请求麦克风权限。然后系统会继续显示橙色点,就好像应用程序正在使用麦克风一样。
我非常确定这是由于在 Wwise 初始化期间将类别设置为 AkAudioSessionCategoryPlayAndRecord
造成的。但是,我认为仅将 iOS 的 AudioSessionCategory 设置为 PlayAndRecord 不会触发系统的橙色点。我猜这是 Wwise 引擎的一个错误?
有人有这方面的经验吗?这个问题有什么解决方法吗?
I'm using Wwise version 2019.2.8.7432. And when I compile the Integration Demo on my iPhone (iOS 14.8.2), the app asks for microphone permission on launch. The system then keeps showing the orange dot as if the app is using the microphone.
I'm pretty sure this is caused by setting the category to AkAudioSessionCategoryPlayAndRecord
during Wwise initialization. However, I think just setting iOS's AudioSessionCategory to PlayAndRecord won't trigger the system's orange dot. I'm guessing this is a bug of the Wwise engine?
Does anyone have experience on this? Is there any workaround for this issue?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
AkAudioSessionCategoryPlayAndRecord
不会改变这一点,但AVAudioSessionCategoryPlayback
会改变。橙色点用于麦克风,因此AkAudioSessionCategoryPlayAndRecord
将正确保持橙色点处于活动状态。AkAudioSessionCategoryPlayAndRecord
won't change that, butAVAudioSessionCategoryPlayback
will. The orange dot is for the microphone soAkAudioSessionCategoryPlayAndRecord
will correctly keep the orange dot alive.