Merge "Update the input duration to reduce the number of samples to process" into main