Displaying 1 result from an estimated 1 matches for "m_irepeat".
Did you mean:
m_irepeats
2006 Jan 17
1
How to loop a Vobis sound ?
...t vector attributes
// AL_POSITION, AL_VELOCITY,
void Get (ALenum eParam, ALfloat *p3f) { alGetSourcefv (m_id, eParam, p3f); }
Source ();
virtual ~Source ();
private:
void Release ();
ALuint m_id; // OpanAL id
Buffer *m_pBuf; // associated buffer.
int m_iRepeats; // for double buffering stream
};
typedef std::vector <Source*> SOURCE_LIST;
}
// ------------- Source.cpp -------------------
Source::Source ()
{
m_pBuf = NULL;
m_iRepeats = 0;
// generate one source id from OpenAL.
alGenSources (1, &m_id);
assert (alG...