Every time I load an mp3 file I call the following methods:
m_AudioSystem->createSound(strSongFileName,(FMOD_MODE)(FMOD_CREATESTREAM | FMOD_ACCURATETIME |FMOD_SOFTWARE),NULL,&m_Song);
unsigned int unPosition = 0;
I check all the error codes returned from the methods(I removed it here to make it short) but sometimes (not most of the times) the getposition method fails with error 32.
What am I doing wrong, I can workaround it and assume the position is – 0 but I am afraid that it is somthing wrong I do.
- miko asked 12 years ago
- You must login to post comments