org.gstreamer.lowlevel.GstLFOControlSourceAPI Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gstreamer-java Show documentation
Show all versions of gstreamer-java Show documentation
Java binding for the Gstreamer framework (0.10 compatible)
The newest version!
/*
* Copyright (c) 2009 Levente Farkas
*
* 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 java.util.Arrays;
import java.util.List;
import org.gstreamer.controller.LFOControlSource;
import org.gstreamer.lowlevel.GstControlSourceAPI.GstControlSourceClass;
import org.gstreamer.lowlevel.GstControlSourceAPI.GstControlSourceStruct;
import com.sun.jna.Library;
import com.sun.jna.Pointer;
public interface GstLFOControlSourceAPI extends Library {
GstLFOControlSourceAPI GSTLFOCONTROLSOURCE_API = GstNative.load("gstcontroller", GstLFOControlSourceAPI.class);
int GST_PADDING = GstAPI.GST_PADDING;
public enum Waveform
{
SINE,
SQUARE,
SAW,
REVERSE_SAW,
TRIANGLE;
}
public static final class GstLFOControlSourceStruct extends com.sun.jna.Structure {
public volatile GstControlSourceStruct parent;
/* */
public volatile Pointer /* GstLFOControlSourcePrivate */ priv;
public volatile Pointer /* GMutex */ lock;
public volatile Pointer[] _gst_reserved = new Pointer[GST_PADDING];
@Override
protected List getFieldOrder() {
return Arrays.asList(new String[]{
"parent", "priv", "lock",
"_gst_reserved"
});
}
}
public static final class GstLFOControlSourceClass extends com.sun.jna.Structure {
public volatile GstControlSourceClass parent_class;
/*< private >*/
public volatile Pointer[] _gst_reserved = new Pointer[GST_PADDING];
@Override
protected List getFieldOrder() {
return Arrays.asList(new String[]{
"parent_class", "_gst_reserved"
});
}
}
GType gst_lfo_control_source_get_type();
GType gst_lfo_waveform_get_type();
/* Functions */
LFOControlSource gst_lfo_control_source_new();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy