[gst-devel] Pausing/Stopping an audio file

Stefan Kost ensonic at hora-obscura.de
Mon Dec 14 22:01:36 CET 2009


Am 14.12.2009 01:14, schrieb Luca Pamparana:
> Hello,
> 
> The gstreamer documentation is good but it really lacks some basic
> examples which would make using it so much easier for people like me
> who would like to adopt it.
> 
> I have an application where I am playing audio file but it seems so
> difficult to figure out how to pause/resume an existing playing file
> or stopping it.

// PAUSE
gst_element_set_state(pipeline, GST_STATE_PAUSED);

// CONTINUE
gst_element_set_state(pipeline, GST_STATE_PLAYING);

Stefan

> I think it would be really useful if someone added
> these examples to the documentation.
> 
> I would be really grateful if someone has an example or can point me
> in the right direction as to what to use for doing this.
> 
> Cheers,
> Luca
> 
> ------------------------------------------------------------------------------
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list