- MP3
- AAC (M4A, MP4, ...)
- WMA
- FLAC
- WAV
- ILBC (speech)
The decoders are working fine but now we would like to add the ability to seek forward and backward through the file rapidly. What is the common procedure for this? Is there a way to determine the frames without using different routines for each type?
Secondly we need to know the total song length in seconds (or samples) to display to the user. Is there an easy way to determine this once again without a different routine for each type?
Currently our parsers for WMA and MP4 are very makeshift and simple. They do not really do an exhaustive job of understanding the containers they just pull the bits they need here and there.