开发者

Get all currently playing sounds (or get number of playing sounds for buffer)

I need to erase not playing buffer. For this I must check that there are no currently playing sounds attached to the buffer.

I took a look at alGetSourcei (source, AL_SOURCE_STATE, &state) and alGetSourcei (source, AL_BUFFER, &buffer), but I need also list of all "alive" sources. Is it possible? Or is there alternat开发者_开发百科ive solution?


It is your responsibility to manage the buffers and know which are in-use and which are not, I believe.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜