[gst-devel] a good GStreamer design issue question
iain
iain at prettypeople.org
Sat Sep 20 03:55:03 CEST 2003
On Fri, 2003-09-19 at 18:41, Thomas Vander Stichele wrote:
> c) a third way, and this is my preferred way, is to somehow get the
> calculation logic also in the sinks directly. Ie, any of the audio
> sinks would be capable of emitting level signals and doing the
> calculation.
>
> Now, to achieve c), there are a few things I wonder about. The easiest
> way to do this would be to create some sort of GstAudioElement
> superclass, which had all the provisions for doing this (ie, private
> data, calculation routines, and signaling stuff).
> Then we could have output sources and sinks, and filters, descend from
> this.
Is this not what we've got GstInterfaces for? Level would be an
interface that elements can implement, and then all the audiosink (or
audiosrcs as well) can implement this interface.
iain
--
"Miss Celine Dion sings lovesongs while our cities burn"
More information about the gstreamer-devel
mailing list