iPhone上的OpenAL声音缓冲区的最大数量 [英] maximum number of OpenAL sound buffers on iPhone

查看:62
本文介绍了iPhone上的OpenAL声音缓冲区的最大数量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为iPhone编写一个使用OpenAL的声音库.在启动过程中,该应用会为每种声音生成一个唯一的缓冲区ID.我遇到的问题是OpenAL无法生成超过1024个缓冲区ID.

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.

我会认为缓冲区ID的总数将受到内存的限制,而不是受到某些预定数目的限制.我找不到任何文档来指定iOS设备上OpenAL可用的最大缓冲区数.

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.

任何人都可以确认1024个缓冲区的限制吗?

Can anyone confirm this limit of 1024 buffers?

谢谢:)

推荐答案

iOS和OS X上的最大缓冲区数为1024.

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

iOS上的最大来源数量为32,而OS X上的最大来源数量为256.

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

这篇关于iPhone上的OpenAL声音缓冲区的最大数量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆