On Wed, 2007-10-10 at 23:33 +0200, Stojance Dimitrovski wrote:
Hello! How can you use the GStreamer Bindings for Vala properly? I've been trying all day long and I couldn't get it right. So far I've managed to determine that the namespace for the bindings is Gst. :-) I keep getting errors that there is no type name X, and such. Can someone post a small, simple snippet of code how to create a pipeline and two elements? Like: audiotestsrc ! alsasink (You can run "gst-launch audiotestsrc ! alsasink" to see the result) Thank you, Stojance Dimitrovski _______________________________________________ Vala mailing list Vala paldo org http://www.paldo.org/mailman/listinfo/vala
Hello Stojance, this is a little program that I wrote to test GStreamer and Vala. Note the "pulsesink" since I use pulse audio server, you can substitute it with alsasink. To compile: $ valac -o gst-test --pkg gstreamer-0.10 gst-test.vala and run it with: $ ./gst-test Have fun. Bye, Andrea
Attachment:
gst-test.vala
Description: Text Data