Changed output delay to be frame based, depends on the channel format.