Class ChangeTimeScaleTrack

    • Constructor Detail

      • ChangeTimeScaleTrack

        public ChangeTimeScaleTrack​(Track source,
                                    long targetTimeScale,
                                    long[] syncSamples)
        Changes the time scale of the source track to the target time scale and makes sure that any rounding errors that may have summed are corrected exactly before the syncSamples.
        Parameters:
        source - the source track
        targetTimeScale - the resulting time scale of this track.
        syncSamples - at these sync points where rounding error are corrected.