Audio out of Sync #1947

Fixed timing issue causing Audio out of Sync on Export by changing the way the trim time was calculated.