*/
#include <gst/gst.h>
-#include <gst/controller/gstcontroller.h>
#include <gst/controller/gstinterpolationcontrolsource.h>
/* a song in buzztard can easily reach 30000 here */
GstClockTime tick;
gst_init (&argc, &argv);
- gst_controller_init (&argc, &argv);
/* build pipeline */
bin = gst_pipeline_new ("pipeline");
tick = BLOCK_SIZE * GST_SECOND / 44100;
/* add a controller to the source */
- if (!(ctrl = gst_controller_new (G_OBJECT (src), "freq", NULL))) {
+ if (!(ctrl = gst_controller_new (GST_OBJECT (src), "freq", NULL))) {
GST_WARNING ("can't control source element");
goto Error;
}
*/
#include <gst/gst.h>
-#include <gst/controller/gstcontroller.h>
#include <gst/controller/gstinterpolationcontrolsource.h>
gint
GValue vol = { 0, };
gst_init (&argc, &argv);
- gst_controller_init (&argc, &argv);
/* build pipeline */
bin = gst_pipeline_new ("pipeline");
*/
/* add a controller to the source */
- if (!(ctrl = gst_controller_new (G_OBJECT (src), "freq", "volume", NULL))) {
+ if (!(ctrl = gst_controller_new (GST_OBJECT (src), "freq", "volume", NULL))) {
GST_WARNING ("can't control source element");
goto Error;
}