For recorded music, you could always buffer however many milliseconds of audio to account for the processing.