From d4a8830b7bb39eea2fca0312c8e8b270ea14f36a Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Wed, 22 Nov 2006 17:31:02 +0000 Subject: [PATCH] examples/audio-controller.py: Fix example, use proper property name. Doesn't change anything to the way it used to wo... Original commit message from CVS: * examples/audio-controller.py: Fix example, use proper property name. Doesn't change anything to the way it used to work, but since it's an example it should be done properly. --- ChangeLog | 7 +++++++ examples/audio-controller.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 762109cbe7..a48e02c530 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-11-22 Edward Hervey + + * examples/audio-controller.py: + Fix example, use proper property name. Doesn't change anything to the + way it used to work, but since it's an example it should be done + properly. + 2006-11-22 Edward Hervey * codegen/override.py: diff --git a/examples/audio-controller.py b/examples/audio-controller.py index 549d487f76..d6769100ec 100644 --- a/examples/audio-controller.py +++ b/examples/audio-controller.py @@ -21,7 +21,7 @@ def main(): control = gst.Controller(src, "freq", "volume") control.set_interpolation_mode("volume", gst.INTERPOLATE_LINEAR) - control.set_interpolation_mode("volume", gst.INTERPOLATE_LINEAR) + control.set_interpolation_mode("freq", gst.INTERPOLATE_LINEAR) control.set("volume", 0, 0.0) control.set("volume", 2 * gst.SECOND, 1.0)