I’m sorry if I’m bringing up the same old question, but I’ve got an ogg file that loops fine streaming. However, the loop is in two parts: the first part and then the second part (the first part plays once then the second loops indefinately). This gives me problems as I have to use GetTime and GetLengthMs (I’m in VB and therefore don’t have the callbacks) and theres a miniscule gap inbetween. Is this something I’m going to have to live with?

If you knew that the gap in the beginning of the file was, say, 100 ms, could you simply manually loop the file using the callbacks? When the file finishes, immediately reset the position to 100 ms from the start?

Just a thought… (Oh, and I think I remember reading that MP3’s have a seeking resolution of 26ms or close to that. So 104 ms might be a better choice.)