[gst-devel] sample caching

Iain * iaingnome at gmail.com
Wed Nov 24 07:28:57 CET 2004


> > In my ding caching stuff that I've been quietly working on
> 
> Cool; does it work via an interface on a sink, or something else?

Via a really simple interface on the sink.

> > (slowly,
> > it's essay season), would use such a function, but the user of the
> > ding caching would just call gnome_sound_play [1] and everything is
> > taken care of for him.
> 
> Hmmmm.  I'm not sure that's such a good idea.  How do you know when to
> cache sounds and when not to?  If I play a 20MB ogg via
> gnome_sound_play, will that be cached?  For how long?
> 

Well, there can be a boolean "cache" argument to tell the function to
cache the sample if possible. for playing my_30minute_song.ogg you'd
set it to FALSE.

iain




More information about the gstreamer-devel mailing list