0
0

when i use fmod System::setFileSystem set the FMOD_FILE_ASYNCREADCALLBACK with myself call back function, i found that when fmod send a read request, the request file offset in
typedef struct {
void * handle;
[color=#FF0000:1oh9df4u] unsigned int offset;[/color:1oh9df4u]
unsigned int sizebytes;
int priority;
void * buffer;
unsigned int bytesread;
FMOD_RESULT result;
void * userdata;
} FMOD_ASYNCREADINFO;

is not in order. this is a big problem, cause i use createstream to create sound, the sound buffer is filled in another thread, the requested buffer may be not ready.
how can i do……

  • You must to post comments
0
0

i found that the read request is in ordered when i set the flag in createstream with FMOD_IGNORETAGS

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.