using Gst.Interfaces;
public static class MixerMessage {
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern int gst_mixer_message_get_type(IntPtr message);
public static Gst.Interfaces.MixerMessageType MessageGetType(Gst.Message message) {
return ret;
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern void gst_mixer_message_parse_mute_toggled(IntPtr message, out IntPtr track, out bool mute);
public static void ParseMuteToggled(Gst.Message message, out Gst.Interfaces.MixerTrack track, out bool mute) {
track = (MixerTrack) GLib.Object.GetObject (native_ptr, false);
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern void gst_mixer_message_parse_option_changed(IntPtr message, out IntPtr options, out IntPtr value);
public static void MessageParseOptionChanged(Gst.Message message, out Gst.Interfaces.MixerOptions options, out string value) {
value = GLib.Marshaller.Utf8PtrToString (native_value);
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern void gst_mixer_message_parse_record_toggled(IntPtr message, out IntPtr track, out bool record);
public static void MessageParseRecordToggled(Gst.Message message, out Gst.Interfaces.MixerTrack track, out bool record) {
track = (MixerTrack) GLib.Object.GetObject (native_ptr, false);
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern void gst_mixer_message_parse_volume_changed(IntPtr message, out IntPtr track, out IntPtr volumes, out int num_channels);
public static void MessageParseVolumeChanged(Gst.Message message, out Gst.Interfaces.MixerTrack track, out int[] volumes) {
GLib.Marshaller.Free (native_volumes);
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern void gst_mixer_message_parse_options_list_changed(IntPtr message, out IntPtr options);
public static void MessageParseOptionsListChanged(Gst.Message message, out Gst.Interfaces.MixerOptions options) {
this.handle = handle;
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern IntPtr gst_color_balance_get_type();
private static GLib.GType _gtype = new GLib.GType (gst_color_balance_get_type ());
}
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern void gst_color_balance_set_value(IntPtr raw, IntPtr channel, int value);
public void SetValue(Gst.Interfaces.ColorBalanceChannel channel, int value) {
gst_color_balance_set_value(Handle, channel == null ? IntPtr.Zero : channel.Handle, value);
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern IntPtr gst_color_balance_list_channels(IntPtr raw);
public Gst.Interfaces.ColorBalanceChannel[] ListChannels() {
return ret;
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern int gst_color_balance_get_value(IntPtr raw, IntPtr channel);
public int GetValue(Gst.Interfaces.ColorBalanceChannel channel) {
return ret;
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern void gst_color_balance_value_changed(IntPtr raw, IntPtr channel, int value);
public void EmitValueChanged(Gst.Interfaces.ColorBalanceChannel channel, int value) {
this.handle = handle;
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern IntPtr gst_mixer_get_type();
private static GLib.GType _gtype = new GLib.GType (gst_mixer_get_type ());
}
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern void gst_mixer_volume_changed(IntPtr raw, IntPtr track, IntPtr volumes);
public void VolumeChanged(Gst.Interfaces.MixerTrack track, int[] volumes) {
GLib.Marshaller.Free (native_volumes);
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern IntPtr gst_mixer_list_tracks(IntPtr raw);
public Gst.Interfaces.MixerTrack[] ListTracks() {
return ret;
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern void gst_mixer_set_option(IntPtr raw, IntPtr opts, IntPtr value);
public void SetOption(Gst.Interfaces.MixerOptions opts, string value) {
gst_mixer_set_option(Handle, opts == null ? IntPtr.Zero : opts.Handle, GLib.Marshaller.StringToPtrGStrdup(value));
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern void gst_mixer_set_volume(IntPtr raw, IntPtr track, IntPtr volumes);
public void SetVolume(Gst.Interfaces.MixerTrack track, int[] volumes) {
GLib.Marshaller.Free (volumes_native);
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern void gst_mixer_mute_toggled(IntPtr raw, IntPtr track, bool mute);
public void MuteToggled(Gst.Interfaces.MixerTrack track, bool mute) {
gst_mixer_mute_toggled(Handle, track == null ? IntPtr.Zero : track.Handle, mute);
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern void gst_mixer_option_changed(IntPtr raw, IntPtr opts, IntPtr value);
public void OptionChanged(Gst.Interfaces.MixerOptions opts, string value) {
gst_mixer_option_changed(Handle, opts == null ? IntPtr.Zero : opts.Handle, GLib.Marshaller.StringToPtrGStrdup(value));
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern void gst_mixer_options_list_changed(IntPtr raw, IntPtr opts);
public void OptionsListChanged(Gst.Interfaces.MixerOptions opts) {
gst_mixer_options_list_changed(Handle, opts == null ? IntPtr.Zero : opts.Handle);
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern IntPtr gst_mixer_get_option(IntPtr raw, IntPtr opts);
public string GetOption(Gst.Interfaces.MixerOptions opts) {
return ret;
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern void gst_mixer_set_record(IntPtr raw, IntPtr track, bool record);
public void SetRecord(Gst.Interfaces.MixerTrack track, bool record) {
gst_mixer_set_record(Handle, track == null ? IntPtr.Zero : track.Handle, record);
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern void gst_mixer_record_toggled(IntPtr raw, IntPtr track, bool record);
public void RecordToggled(Gst.Interfaces.MixerTrack track, bool record) {
gst_mixer_record_toggled(Handle, track == null ? IntPtr.Zero : track.Handle, record);
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern void gst_mixer_get_volume(IntPtr raw, IntPtr track, ref IntPtr volumes);
public int[] GetVolume(Gst.Interfaces.MixerTrack track) {
return volumes;
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern int gst_mixer_get_mixer_flags(IntPtr raw);
public Gst.Interfaces.MixerFlags MixerFlags {
}
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern void gst_mixer_mixer_changed(IntPtr raw);
public void MixerChanged() {
gst_mixer_mixer_changed(Handle);
}
- [DllImport("gstreamer-0.10.dll")]
+ [DllImport("gstinterfaces-0.10.dll")]
static extern void gst_mixer_set_mute(IntPtr raw, IntPtr track, bool mute);
public void SetMute(Gst.Interfaces.MixerTrack track, bool mute) {