maximum number of OpenAL sound buffers on iPhone

冷暖自知 提交于 2019-12-07 11:02:43

问题


I'm writing a sound library, for the iPhone, that uses OpenAL. The app generates a unique buffer id for each sound, during startup. The problem that I'm having is that OpenAL is unable to generate more than 1024 buffer ids.

I would've thought that the total number of buffer ids would've been limited by memory, not by some pre-determined number. I haven't been able to find any documentation that specifies the maximum number of buffers available to OpenAL on an iOS device.

Can anyone confirm this limit of 1024 buffers?

Thanks :)


回答1:


The maximum number of buffers on iOS and on OS X is 1024.

The maximum number of sources is 32 on iOS and 256 on OS X.



来源:https://stackoverflow.com/questions/3894044/maximum-number-of-openal-sound-buffers-on-iphone

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