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.
This commit is contained in:
Edward Hervey 2006-11-22 17:31:02 +00:00
parent 34d62eb035
commit d4a8830b7b
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2006-11-22 Edward Hervey <edward@fluendo.com>
* 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 <edward@fluendo.com> 2006-11-22 Edward Hervey <edward@fluendo.com>
* codegen/override.py: * codegen/override.py:

View file

@ -21,7 +21,7 @@ def main():
control = gst.Controller(src, "freq", "volume") 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("volume", gst.INTERPOLATE_LINEAR) control.set_interpolation_mode("freq", gst.INTERPOLATE_LINEAR)
control.set("volume", 0, 0.0) control.set("volume", 0, 0.0)
control.set("volume", 2 * gst.SECOND, 1.0) control.set("volume", 2 * gst.SECOND, 1.0)