Wwise:为什么 Wwise 的 iOS 集成演示中 iOS 系统的橙点一直亮着

发布于 2025-01-11 10:43:32 字数 323 浏览 4 评论 0原文

我使用的是 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我乃一代侩神 2025-01-18 10:43:32

AkAudioSessionCategoryPlayAndRecord 不会改变这一点,但 AVAudioSessionCategoryPlayback 会改变。橙色点用于麦克风,因此 AkAudioSessionCategoryPlayAndRecord 将正确保持橙色点处于活动状态。

AkAudioSessionCategoryPlayAndRecord won't change that, but AVAudioSessionCategoryPlayback will. The orange dot is for the microphone so AkAudioSessionCategoryPlayAndRecord will correctly keep the orange dot alive.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文