Hi All,
I am working on an application to run MP3s on various platforms. My understanding for MP3s is OK OK kind of. I got many documents on net and got a lot of information about it.
Now coming to the problem. I know the structure of MP3 files. How the data is organized and every other aspect related to it. I am quite aware about it.
But now while implementation I am facing a problem in detecting the 11 bits sync word. I am able to get sync words at different offsets but not able to figure out which one are false syncs.
I tried filtering out some of them with help of inavalid ID, IDTag, bitrateIndex, frequency and other factors. But still I am getting some of the sync words which are not valid. Can somebody explain it to me.
Second thing I want to ask is "Is it sure that if I got a sync word at offset SYNC_OFFSET_FRAME1, and the frame length of the frame of this sync word is FRAME1_LENGTH, then the next sync word has to be present at offset of SYNC_OFFSET_DATA1 + FRAME1_LENGTH?".
Please let me know if anybody has answer to above questions.
Thanks
-R/\\/I-
