partial void SeekInternalImpl(TimeSpan seekTime) { audioMediaDecoder.Flush(); audioMediaExtractor.SeekTo(seekTime.TotalMicroSeconds(), MediaExtractorSeekTo.ClosestSync); extractionOutputDone = false; extractionInputDone = false; }
protected void SeekMediaAt(TimeSpan expectedTime) { isSeekRequestCompleted = false; MediaDecoder.Flush(); mediaExtractor.SeekTo(expectedTime.TotalMicroSeconds(), MediaExtractorSeekTo.PreviousSync); inputExtractionDone = false; isEOF = false; }