Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在为 iPhone 编写一个使用 OpenAL 的声音库。该应用程序在启动期间为每个声音生成一个唯一的缓冲区 ID。我遇到的问题是 OpenAL 无法生成超过 1024 个缓冲区 ID。
我会认为缓冲区 id 的总数会受到内存的限制,而不是一些预先确定的数字。我找不到任何文档来指定 iOS 设备上 OpenAL 可用的最大缓冲区数。
谁能确认这个 1024 个缓冲区的限制?
谢谢 :)
iOS 和 OS X 上的最大缓冲区数为 1024。
源的最大数量在 iOS 上为 32,在 OS X 上为 256。