Examples of QOSEvent


Examples of org.gstreamer.event.QOSEvent

        assertNotNull("gst_event_new_qos returned null", ev);
        assertTrue("gst_event_new_qos returned a non-QOS event", ev instanceof QOSEvent);
    }
    @Test public void QOS_getProportion() {
        final double PROPORTION = (double) 0xdeadbeef;
        QOSEvent ev = new QOSEvent(PROPORTION, 0, ClockTime.ZERO);
        assertEquals("Wrong proportion", PROPORTION, ev.getProportion(), 0d);
    }
View Full Code Here

Examples of org.gstreamer.event.QOSEvent

        assertEquals("Wrong proportion", PROPORTION, ev.getProportion(), 0d);
    }
    /*@Test */public void QOS_getDifference() {
        long DIFF = 0xdeadbeef;
       
        QOSEvent ev = new QOSEvent(0.0, DIFF, ClockTime.ZERO);
        assertEquals("Wrong difference", DIFF, ev.getDifference());
    }
View Full Code Here

Examples of org.gstreamer.event.QOSEvent

        QOSEvent ev = new QOSEvent(0.0, DIFF, ClockTime.ZERO);
        assertEquals("Wrong difference", DIFF, ev.getDifference());
    }
    @Test public void QOS_getTimestamp() {
        final ClockTime STAMP = ClockTime.valueOf(0xdeadbeef, TimeUnit.NANOSECONDS);
        QOSEvent ev = new QOSEvent(0d, 0, STAMP);
        assertEquals("Wrong timestamp", STAMP, ev.getTimestamp());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.