Searched refs:seekDuration (Results 1 – 1 of 1) sorted by relevance
325 final int seekDuration = 100; in testPlayAudioFromDataURI() local353 assertTrue(pos < mp3Duration - seekDuration); in testPlayAudioFromDataURI()355 mp.seekTo(pos + seekDuration); in testPlayAudioFromDataURI()356 assertEquals(pos + seekDuration, mp.getCurrentPosition(), tolerance); in testPlayAudioFromDataURI()402 int mp3Duration, int tolerance, int seekDuration) throws Exception {422 assertTrue(pos < mp3Duration - seekDuration);424 mp.seekTo(pos + seekDuration);425 assertEquals(pos + seekDuration, mp.getCurrentPosition(), tolerance);553 final int seekDuration = 1000; in runMidiTest() local570 assertTrue(pos < midiDuration - seekDuration); in runMidiTest()[all …]