Searched refs:playbackRate (Results 1 – 2 of 2) sorted by relevance
416 final float playbackRate) throws Exception { in playAV() argument428 audio, video, playbackRate, state)); in playAV()444 final double diff = state.mMediaDurationUs - state.mClockDurationUs * playbackRate ; in playAV()446 + "] playbackRate " + playbackRate in playAV()474 float playbackRate, in runPlayAV() argument530 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate)); in runPlayAV()
1292 final float playbackRate = 1.0f; local1295 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate));1310 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate));1379 for (float playbackRate : rates) { in testPlaybackRate()1383 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate)); in testPlaybackRate()1388 playbackRate, pbp.getSpeed(), in testPlaybackRate()1389 FLOAT_TOLERANCE + playbackRate * sync.getTolerance()); in testPlaybackRate()1393 int diff = Math.abs((int)(playedMediaDurationMs / playbackRate) - playTime); in testPlaybackRate()1395 fail("Media player had error in playback rate " + playbackRate in testPlaybackRate()1479 final float playbackRate = 1.0f; in testGetTimestamp() local[all …]