All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.gstreamer.lowlevel.GstPipelineAPI Maven / Gradle / Ivy

There is a newer version: 1.6
Show newest version
/* 
 * Copyright (c) 2009 Levente Farkas
 * Copyright (c) 2007, 2008 Wayne Meissner
 * 
 * This file is part of gstreamer-java.
 *
 * This code is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License version 3 only, as
 * published by the Free Software Foundation.
 *
 * This code is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
 * version 3 for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with this work.  If not, see .
 */

package org.gstreamer.lowlevel;

import org.gstreamer.Bus;
import org.gstreamer.Clock;
import org.gstreamer.ClockTime;
import org.gstreamer.Pipeline;
import org.gstreamer.lowlevel.annotations.CallerOwnsReturn;

/**
 * GstPipeline
 */
public interface GstPipelineAPI extends com.sun.jna.Library {
	GstPipelineAPI GSTPIPELINE_API = GstNative.load(GstPipelineAPI.class);

    @CallerOwnsReturn Pipeline gst_pipeline_new(String name);
    GType gst_pipeline_get_type();
    @CallerOwnsReturn Bus gst_pipeline_get_bus(Pipeline pipeline);
    void gst_pipeline_set_auto_flush_bus(Pipeline pipeline, boolean flush);
    boolean gst_pipeline_get_auto_flush_bus(Pipeline pipeline);
    void gst_pipeline_set_new_stream_time(Pipeline pipeline, ClockTime time);
    long gst_pipeline_get_last_stream_time(Pipeline pipeline);
    void gst_pipeline_use_clock(Pipeline pipeline, Clock clock);
    boolean gst_pipeline_set_clock(Pipeline pipeline, Clock clock);
    @CallerOwnsReturn Clock gst_pipeline_get_clock(Pipeline pipeline);
    void gst_pipeline_auto_clock(Pipeline pipeline);
    void gst_pipeline_set_delay(Pipeline pipeline, ClockTime delay);
    long gst_pipeline_get_delay(Pipeline pipeline);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy