mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
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:
parent
34d62eb035
commit
d4a8830b7b
2 changed files with 8 additions and 1 deletions
|
@ -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>
|
||||
|
||||
* codegen/override.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)
|
||||
|
|
Loading…
Reference in a new issue