+2006-01-31 Stefan Kost <ensonic@users.sf.net>
+
+ * gst/audiotestsrc/gstaudiotestsrc.c:
+ (gst_audio_test_src_create_sine_table), (plugin_init):
+ * gst/volume/gstvolume.c: (plugin_init):
+ initialize gst_controller before using
+
2006-01-31 Jan Schmidt <thaytan@mad.scientist.com>
* tests/check/pipelines/theoraenc.c:
if (src->accumulator >= M_PI_M2)
src->accumulator -= M_PI_M2;
- samples[i] = (gint16) src->wave_table[(gint) (src->accumulator * scl)];
+ samples[i] = src->wave_table[(gint) (src->accumulator * scl)];
}
}
static gboolean
plugin_init (GstPlugin * plugin)
{
+ /* initialize gst controller library */
+ gst_controller_init (NULL, NULL);
+
return gst_element_register (plugin, "audiotestsrc",
GST_RANK_NONE, GST_TYPE_AUDIO_TEST_SRC);
}
static gboolean
plugin_init (GstPlugin * plugin)
{
+ /* initialize gst controller library */
+ gst_controller_init (NULL, NULL);
+
return gst_element_register (plugin, "volume", GST_RANK_NONE,
GST_TYPE_VOLUME);
}