gst-libs/gst/mixer/mixer.c: the signals take 2 arguments

Original commit message from CVS:
* gst-libs/gst/mixer/mixer.c: (gst_mixer_class_init):
the signals take 2 arguments
This commit is contained in:
Benjamin Otte 2004-03-09 21:38:40 +00:00
parent ad83c4a0d5
commit 64157f4fc8
3 changed files with 11 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2004-03-09 Benjamin Otte <otte@gnome.org>
* gst-libs/gst/mixer/mixer.c: (gst_mixer_class_init):
the signals take 2 arguments
2004-03-09 David Schleef <ds@schleef.org> 2004-03-09 David Schleef <ds@schleef.org>
* ext/alsa/gstalsa.c: (gst_alsa_request_new_pad), * ext/alsa/gstalsa.c: (gst_alsa_request_new_pad),

View file

@ -76,21 +76,21 @@ gst_mixer_class_init (GstMixerClass *klass)
GST_TYPE_MIXER, G_SIGNAL_RUN_LAST, GST_TYPE_MIXER, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstMixerClass, record_toggled), G_STRUCT_OFFSET (GstMixerClass, record_toggled),
NULL, NULL, NULL, NULL,
gst_mixer_marshal_VOID__OBJECT_BOOLEAN, G_TYPE_NONE, 1, gst_mixer_marshal_VOID__OBJECT_BOOLEAN, G_TYPE_NONE, 2,
GST_TYPE_MIXER_TRACK, G_TYPE_BOOLEAN); GST_TYPE_MIXER_TRACK, G_TYPE_BOOLEAN);
gst_mixer_signals[MUTE_TOGGLED] = gst_mixer_signals[MUTE_TOGGLED] =
g_signal_new ("mute-toggled", g_signal_new ("mute-toggled",
GST_TYPE_MIXER, G_SIGNAL_RUN_LAST, GST_TYPE_MIXER, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstMixerClass, mute_toggled), G_STRUCT_OFFSET (GstMixerClass, mute_toggled),
NULL, NULL, NULL, NULL,
gst_mixer_marshal_VOID__OBJECT_BOOLEAN, G_TYPE_NONE, 1, gst_mixer_marshal_VOID__OBJECT_BOOLEAN, G_TYPE_NONE, 2,
GST_TYPE_MIXER_TRACK, G_TYPE_BOOLEAN); GST_TYPE_MIXER_TRACK, G_TYPE_BOOLEAN);
gst_mixer_signals[VOLUME_CHANGED] = gst_mixer_signals[VOLUME_CHANGED] =
g_signal_new ("volume-changed", g_signal_new ("volume-changed",
GST_TYPE_MIXER, G_SIGNAL_RUN_LAST, GST_TYPE_MIXER, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstMixerClass, volume_changed), G_STRUCT_OFFSET (GstMixerClass, volume_changed),
NULL, NULL, NULL, NULL,
gst_mixer_marshal_VOID__OBJECT_POINTER, G_TYPE_NONE, 1, gst_mixer_marshal_VOID__OBJECT_POINTER, G_TYPE_NONE, 2,
GST_TYPE_MIXER_TRACK, G_TYPE_POINTER); GST_TYPE_MIXER_TRACK, G_TYPE_POINTER);
initialized = TRUE; initialized = TRUE;

View file

@ -76,21 +76,21 @@ gst_mixer_class_init (GstMixerClass *klass)
GST_TYPE_MIXER, G_SIGNAL_RUN_LAST, GST_TYPE_MIXER, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstMixerClass, record_toggled), G_STRUCT_OFFSET (GstMixerClass, record_toggled),
NULL, NULL, NULL, NULL,
gst_mixer_marshal_VOID__OBJECT_BOOLEAN, G_TYPE_NONE, 1, gst_mixer_marshal_VOID__OBJECT_BOOLEAN, G_TYPE_NONE, 2,
GST_TYPE_MIXER_TRACK, G_TYPE_BOOLEAN); GST_TYPE_MIXER_TRACK, G_TYPE_BOOLEAN);
gst_mixer_signals[MUTE_TOGGLED] = gst_mixer_signals[MUTE_TOGGLED] =
g_signal_new ("mute-toggled", g_signal_new ("mute-toggled",
GST_TYPE_MIXER, G_SIGNAL_RUN_LAST, GST_TYPE_MIXER, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstMixerClass, mute_toggled), G_STRUCT_OFFSET (GstMixerClass, mute_toggled),
NULL, NULL, NULL, NULL,
gst_mixer_marshal_VOID__OBJECT_BOOLEAN, G_TYPE_NONE, 1, gst_mixer_marshal_VOID__OBJECT_BOOLEAN, G_TYPE_NONE, 2,
GST_TYPE_MIXER_TRACK, G_TYPE_BOOLEAN); GST_TYPE_MIXER_TRACK, G_TYPE_BOOLEAN);
gst_mixer_signals[VOLUME_CHANGED] = gst_mixer_signals[VOLUME_CHANGED] =
g_signal_new ("volume-changed", g_signal_new ("volume-changed",
GST_TYPE_MIXER, G_SIGNAL_RUN_LAST, GST_TYPE_MIXER, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstMixerClass, volume_changed), G_STRUCT_OFFSET (GstMixerClass, volume_changed),
NULL, NULL, NULL, NULL,
gst_mixer_marshal_VOID__OBJECT_POINTER, G_TYPE_NONE, 1, gst_mixer_marshal_VOID__OBJECT_POINTER, G_TYPE_NONE, 2,
GST_TYPE_MIXER_TRACK, G_TYPE_POINTER); GST_TYPE_MIXER_TRACK, G_TYPE_POINTER);
initialized = TRUE; initialized = TRUE;