search for: alsourcei

Displaying 1 result from an estimated 1 matches for "alsourcei".

2006 Jan 17
1
How to loop a Vobis sound ?
...urce in the AL_PLAYING or AL_PAUSED state, setting AL_BUFFER will // result in the AL_INVALID_OPERATION error state being set. AL_BUFFER can be // applied only to sources in the AL_INITIAL and AL_STOPPED states. // NULL, release the current buffer queue on a source if (!pBuf) alSourcei (m_id, AL_BUFFER, AL_NONE); else { // for single clip stream (WAV), attach the buffer id directly // for double buffering stream (Ogg), don't attach buffer id // Queue the streaming buffers instead. if (!pBuf->IsDoubleBuffering ()) alSourcei (m_id, AL_BUFFER...