search for: al_playing

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

2006 Jan 17
1
How to loop a Vobis sound ?
...fault position // initial listener's position is (0,0,0) // default AL_REFERENCE_DISTANCE = 1 ALfloat pos[3] = {0, 0, -1}; this->SetPosition (pos); } Source::~Source () { Release (); } void Source::SetCurrentBuffer (Buffer *pBuf) { // For a source 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_BU...