mp3 stream and computeSpectrum problem

hello gurus, im developing an mp3 player and ive run into a syncing problem with streaming an mp3 and computeSpectrum, the visualiser is out of sync by about 1 second. has anyone come across this?