I need MAD to decode in chunks, with an arbitrary amount of time between the decoding of each chunk (e.g. I decode the first 50000 samples and then a second later I decode the next 50000 samples), and I'm running into the problem of MAD losing syncronization as I begin to decode each chunk, resulting in the loss of several frames each time. Can anybody help me?