Hi Cameron,
I didn’t make any modification on asyncio.cpp but createStream().
result = system->createStream( Common_MediaPath( “singing.wav” ), FMOD_LOOP_NORMAL | FMOD_2D | FMOD_IGNORETAGS, NULL, &sound );
result = system->createStream( Common_MediaPath( “singing.ogg” ), FMOD_LOOP_NORMAL | FMOD_2D | FMOD_IGNORETAGS, NULL, &sound );
I can reproduce this using ‘singing.wav’ which is included in the example, and the ogg file encoded from the wav file( I used oggenc.exe v2.87 and Audacity v2.3.0 for ogg encoding )
When I play ‘singing.wav’ 467,866 bytes file,
#1 FMOD_ASYNCREADINFO: offset 0, sizebytes 2048
#2 FMOD_ASYNCREADINFO: offset 466944, sizebytes 2048
#3 FMOD_ASYNCREADINFO: offset 0, sizebytes 2048
#4 FMOD_ASYNCREADINFO: offset 2048, sizebytes 34816
#5 FMOD_ASYNCREADINFO: offset 18432, sizebytes 18432
#6 FMOD_ASYNCREADINFO: offset 34816, sizebytes 2048
#7 FMOD_ASYNCREADINFO: offset 18432, sizebytes 18432
…
When I play ‘singing.ogg’ 52,808 bytes file,
#1 FMOD_ASYNCREADINFO: offset 0, sizebytes 2048
#2 FMOD_ASYNCREADINFO: offset 0, sizebytes 8192
#3 FMOD_ASYNCREADINFO: offset 8192, sizebytes 2048
#4 FMOD_ASYNCREADINFO: offset 43008, sizebytes 2048
#5 FMOD_ASYNCREADINFO: offset 45056, sizebytes 6144
#6 FMOD_ASYNCREADINFO: offset 51200, sizebytes 2048
#7 FMOD_ASYNCREADINFO: offset 2048, sizebytes 2048
#8 FMOD_ASYNCREADINFO: offset 4096, sizebytes 8192
#9 FMOD_ASYNCREADINFO: offset 12288, sizebytes 2048
…
I noticed the offsets poped to the last part of file.