Home
last modified time | relevance | path

Searched refs:playbackRate (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaSyncTest.java386 final float playbackRate) throws InterruptedException { in playAV() argument
392 audio, video, playbackRate)); in playAV()
407 float playbackRate) { in runPlayAV() argument
455 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate)); in runPlayAV()
501 assertEquals("Mediasync had error in playback rate " + playbackRate in runPlayAV()
504 playTimeUs * playbackRate, in runPlayAV()
DMediaPlayerTest.java853 for (float playbackRate : rates) {
857 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate));
862 playbackRate, pbp.getSpeed(),
863 FLOAT_TOLERANCE + playbackRate * sync.getTolerance());
867 int diff = Math.abs((int)(playedMediaDurationMs / playbackRate) - playTime);
869 fail("Media player had error in playback rate " + playbackRate
881 final float playbackRate = 1.0f;
890 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate));
897 playbackRate, ts1.getMediaClockRate(), 0.001f);