Searched refs:seekDuration (Results 1 – 1 of 1) sorted by relevance
204 final int seekDuration = 100; in testPlayAudioFromDataURI() local234 assertTrue(pos < mp3Duration - seekDuration); in testPlayAudioFromDataURI()236 mp.seekTo(pos + seekDuration); in testPlayAudioFromDataURI()237 assertEquals(pos + seekDuration, mp.getCurrentPosition(), tolerance); in testPlayAudioFromDataURI()280 int mp3Duration, int tolerance, int seekDuration) throws Exception {298 assertTrue(pos < mp3Duration - seekDuration);300 mp.seekTo(pos + seekDuration);301 assertEquals(pos + seekDuration, mp.getCurrentPosition(), tolerance);407 final int seekDuration = 1000; in testPlayMidi() local423 assertTrue(pos < midiDuration - seekDuration); in testPlayMidi()[all …]