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