[gst-devel] a good GStreamer design issue question

Thomas Vander Stichele thomas at apestaart.org
Sat Sep 20 04:15:03 CEST 2003


On Sat, 2003-09-20 at 12:56, iain wrote:

> 
> 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.

It might very well be, yeah - please tell me if it is :) and also, if
interfaces are the right way, how much code does a sink need to add to
have it work ? since all of the logic would be in the interface
definition (ie, definition of signals to fire, and so on), it seems to
me that having two functions in the interface that calculate and emit
signals seems to be  enough.  It seems to me the element doesn't really
need to do anything except call those two signals.

What do you think ?

Thomas



Dave/Dina : future TV today ! - http://davedina.apestaart.org/
<-*- thomas (dot) apestaart (dot) org -*->
I'm sick of spending these lonely nights
training myself not to care
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.rug.ac.be/






More information about the gstreamer-devel mailing list