I create a sound:
m_AudioSystem->createSound(strSongFileName.c_str(),(FMOD_MODE)(FMOD_CREATESTREAM | FMOD_ACCURATETIME),NULL,&m_Song)
then I play it:
m_AudioSystem->playSound(FMOD_CHANNEL_FREE, m_Song, 0, &m_Channel)
then when I use the m_Channel->stop() and playSound again and again
after 2 -3 times I get an Access violation in fmod for the playsound or set position method.
what am I doing wrong?
does Stop releases the Channel?
does Stop releases the sound?
- miko asked 13 years ago
Please login first to submit.