Package org.gstreamer.lowlevel.GstAPI

Examples of org.gstreamer.lowlevel.GstAPI.GstCallback


     * Add a listener for frequency-changed messages.
     *
     * @param listener The listener to be called when the frequency changes
     */
    public void connect(final FREQUENCY_CHANGED listener) {
        connect(FREQUENCY_CHANGED.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public boolean callback(long frequency) {
                listener.frequencyChanged(TunerChannel.this, frequency);
                return true;
            }
View Full Code Here


     * Add a listener for signal-changed messages.
     *
     * @param listener The listener to be called when the signal strength changes
     */
    public void connect(final SIGNAL_CHANGED listener) {
        connect(SIGNAL_CHANGED.class, listener, new GstCallback() {
            @SuppressWarnings("unused")
            public boolean callback(int signal) {
                listener.signalChanged(TunerChannel.this, signal);
                return true;
            }
View Full Code Here

TOP

Related Classes of org.gstreamer.lowlevel.GstAPI.GstCallback

Copyright © 2018 www.massapicom. 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.