Stefan Sauer
660d9c071a
controller: cleanup the control-binding construction
...
This is now bindings firendly as _new is just a classic c convenience and all
the work is done in a constructor. As a side effect _new never fails.
Fix the tests.
2012-01-24 21:57:44 +01:00
Stefan Sauer
b23977cb93
controller: allow different controlbindings
...
Make controlbinding an abstract baseclass. Move implementation to control-
binding-direct and add a control-binding-argb. Add an example.
2012-01-23 11:03:43 +01:00
Stefan Sauer
dd9f0481ea
controller: improve control binding handling
...
Change _set_control_binding to _add_control_binding and take ownership. Add a
_remove_control_binding function.
2012-01-20 14:42:31 +01:00
Stefan Sauer
c227d51fa9
controller: remove convenience api for control sources
...
This is needed to support multiple kinds of control-bindings.
2012-01-20 11:31:23 +01:00
Stefan Sauer
3a08d90ec7
controller: remove nonsense parts from test object property descriptions
2012-01-01 20:43:51 +01:00
Stefan Sauer
fcef8d8046
control-sources: turn into GstObjects
...
This is a preparation for chaining them.
2011-12-31 09:57:49 +01:00
Stefan Sauer
db807d9890
controller: add more tests to core controller suite
...
Extend the dummy control-source to allow testing the sync code path. Add test
for 1:1 and 2:1 value <-> control-source sync.
2011-12-30 17:53:23 +01:00
Stefan Sauer
b0b6bea3dc
controller: add a test for bindings control sources multiple times
2011-12-30 17:53:23 +01:00
Stefan Sauer
15f675ccc1
controller: split and cleanup the tests
...
The controller object was once copied from buzztards unit tests. Change
TestMonoSource to TestObj as it is not a full fledged element. Split the tests
into a core and library test suite.
2011-12-25 21:24:57 +01:00