diff options
author | Steve Baker <steve@stevebaker.org> | 2001-10-07 09:50:42 +0000 |
---|---|---|
committer | Steve Baker <steve@stevebaker.org> | 2001-10-07 09:50:42 +0000 |
commit | 84cfa7e3eeb02071695bd9529fea219581784388 (patch) | |
tree | 4acf0aa5dc52a82edc6bf495feab25b6f3118a97 | |
parent | dbb97e0055903dbac541ba2f323da5bc5786113a (diff) | |
download | gstreamer-84cfa7e3eeb02071695bd9529fea219581784388.tar.gz |
changes for dparams move
Original commit message from CVS:
changes for dparams move
-rw-r--r-- | test/Makefile.am | 3 | ||||
-rw-r--r-- | test/sinesliders.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/test/Makefile.am b/test/Makefile.am index 685604bedd..15470df4b1 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -5,6 +5,7 @@ GNOME_PROGS = spectrum wave mp1parse videotest aviparse \ videotest2 video2mp1 dvshow dv2mp1 \ mpeg2parse2 mpeg2parse3 \ mp2tomp1v2 main sinesliders testspeed +sinesliders_LDADD = ../libs/control/libgstcontrol.la else GNOME_PROGS = endif @@ -13,7 +14,7 @@ noinst_PROGRAMS = qtest $(GNOME_PROGS) record mp3 teardown buffer mp3parse \ mp3play ac3parse ac3play dvdcat fake cobin \ vidcapture avi2mpg mp2tomp1 mp1tomp1 pipetest \ vidcapture2 mp2toavi mp3tovorbis xmmstest \ - mp3mad lat + mp3mad lat pluginload SUBDIRS = xml bindings diff --git a/test/sinesliders.c b/test/sinesliders.c index dcae59a303..aaab8bbb60 100644 --- a/test/sinesliders.c +++ b/test/sinesliders.c @@ -2,7 +2,7 @@ #include <math.h> #include <gtk/gtk.h> #include <gst/gst.h> -#include <sys/soundcard.h> +#include <libs/control/gstcontrol.h> static gint quit_live(GtkWidget *window, GdkEventAny *e, gpointer data) { gtk_main_quit(); @@ -74,7 +74,7 @@ int main(int argc,char *argv[]) { g_object_set(G_OBJECT(osssink),"fragment",0x00180008,NULL); g_object_set(G_OBJECT(sinesrc),"buffersize",64,NULL); - dpman = GST_ELEMENT_DPARAM_MANAGER(sinesrc); + dpman = gst_dpman_get_manager (sinesrc); freq = gst_dparam_smooth_new(G_TYPE_FLOAT); vals = GST_DPARAM_GET_POINT(freq, 0LL); |