fossfreedom / rhythmbox-spectrum

Add a visual spectrum analyzer to Rhythmbox
GNU General Public License v3.0
8 stars 0 forks source link

investigate using a tee object #1

Open fossfreedom opened 10 years ago

fossfreedom commented 10 years ago

as per this bug-report from years ago

... https://bugzilla.gnome.org/show_bug.cgi?id=327367

"Rather than adding it as a filter element and stealing playbin's messages, it would probably be better to add it as a tee element and use an event probe to watch for the events."

Lets investigate how the visualisation plugin does this

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2637732-investigate-using-a-tee-object?utm_campaign=plugin&utm_content=tracker%2F3163475&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F3163475&utm_medium=issues&utm_source=github).
fossfreedom commented 9 years ago

looking at the gstreamer spectrum example the spectrum is added after the audioconvert element.

So for thus plugin where it using "add_filter" - where does this add the element. Maybe it adds at the end of gstreamer list and hence why we see a half a second delay between a audio beat and the "spectrum beat".