Stefan Kost
008fa0770b
basevisualizer: add more shader variants and simplify code
...
Use macros to simplyfy the shading code. Those will ease to add support for
other colorspaces in the future. Add more variants for the shading (left,right,
horiz-in, vert-out, vert-in).
2011-08-12 22:39:53 +02:00
Stefan Kost
039ff3873b
basevisualizer: more docs
2011-08-12 21:22:20 +02:00
Stefan Kost
3ba5b8bd0e
baseaudiovisualizer: protect config with a lock
...
Before it was easy to crash the elements when using a ximagesink and triggering
renegotiation by resizing.
2011-08-12 21:18:44 +02:00
Stefan Kost
058c63d185
spectrascope: make a copy of the audiodata before downmixing and windowing
...
The buffers come from the adapter and the data might overlap. We don't want to
modify it in place.
2011-08-12 16:57:49 +02:00
Stefan Kost
f7fe0c9e6f
baseaudiovisualizer: fix last block condition
...
Also push out the last frame if we have exact amount of samples. Fix the adapter
flushing to not cause endless loops. Drop a redundant avail() check.
2011-06-06 15:25:14 +03:00
Stefan Kost
594134d139
audiovisualizers: add a README with comments and plans
2011-06-06 15:25:14 +03:00
Stefan Kost
f66a88bc70
audiovisualizers: remove some not needed boilerplate
2011-06-06 15:25:14 +03:00
Stefan Kost
0a41b9084e
audiovisualizers: add a spacescope element
...
Add another element that maps left/right channel to x,y coordinates.
2011-06-06 15:25:14 +03:00
Stefan Kost
9936332f0a
synaescope: tweak the algorithm
...
Speed-up the calculation a bit. Keep a few values as doubles. Tune the scaling
to get nices colors.
2011-06-06 15:25:14 +03:00
Stefan Kost
0fd078f156
audiovisualizers: doc-blob and comment updates
2011-06-06 15:25:14 +03:00
Stefan Kost
8b1b28dbc0
audiovisualizers: rename baseclass from basescope to baseaudiovisualizer
2011-06-06 15:25:14 +03:00
Stefan Kost
45464a038e
audiovisualizers: rename scopes plugin to audiovisualizers
2011-06-06 15:25:13 +03:00