[Openal] Play sound back with OpenAl ?
chris.kcat at gmail.com
Thu May 22 01:46:02 PDT 2008
On Thursday 22 May 2008 12:20:30 am wassim_belhadj wrote:
> Is it possible to play sound back with knowledge that the source is already
> attached to a buffer?
I'm not sure I understand what you're asking. If you have a source, you can
alGetSourcei(sourceID, AL_BUFFER, &bufferID);
to get which buffer is currently attached to the source. Otherwise, the only
way to know if a buffer is attached to a source is to keep track of if you've
already attached one.
More information about the Openal