diff --git a/ChangeLog b/ChangeLog index cfc20a45d2..a2d12a1818 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-05-27 Edward Hervey + + * examples/audio-controller.py: + Make it work with 0.10, still had cruft from 0.9 + 2006-05-19 Edward Hervey * configure.ac: diff --git a/examples/audio-controller.py b/examples/audio-controller.py index 0804af6ff9..549d487f76 100644 --- a/examples/audio-controller.py +++ b/examples/audio-controller.py @@ -7,14 +7,16 @@ # Test case for the GstController on sinesrc -> alsasink # Inspired from ensonic's examples/controller/audio-controller.c +import pygst +pygst.require('0.10') import gst import time def main(): pipeline = gst.Pipeline("audiocontroller") - src = gst.element_factory_make("sinesrc", "src") + src = gst.element_factory_make("audiotestsrc", "src") sink = gst.element_factory_make("alsasink", "sink") - pipeline.add_many(src, sink) + pipeline.add(src, sink) src.link(sink) control = gst.Controller(src, "freq", "volume")