开发者

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

开发者 https://www.devze.com 2023-03-18 03:52 出处:网络
I need to erase not playing buffer. For this I must check that there are no currently playing sounds attached to the 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

精彩评论

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