ActiveAE: correct time of buffered samples by resample ratio
ActiveAE: fix broken transcode for SPDIF if hidden channel layout has more than 2 channels