[gst-devel] how to dynamic control volume ?

Stefan Kost ensonic at hora-obscura.de
Wed Sep 26 19:10:23 CEST 2007


Hi,

Volter Yen wrote:
> Hi,
>   recently,I tried to use the volume plugin to control the audio
> volume,and I can make it in static way by setting the volume property
> vaule in my appliaction, but I want to dynamicly control the volume
> while the pipeline is till working on,how to dynamicly change the value
> of plugin's property after the g_main_loop_run()?   could anyone help
> me?thank you!
> Volter
>  

you can change the volume property of the volume element at any time, e.g. from
the callback of a UI widget. Alternatively you can use the gst_controller to
schedule changes for given time-stamps. The controller can make abrupt changes
or can create smooth transitions.

Stefan
>  
>  
> 
> 
> =====================================================
>  
> Happy everyday $ Best Regards!
>  
> msn:volter619 at 163.com
>  
> Focus on embed linux software!
> 
> 
> ------------------------------------------------------------------------
> ɱ70ÍòÖÖľÂí²¡¶¾£¬ÈðÐÇ2008°æÃâ·Ñ
> <http://pro.163.com/event.ng/Type=click&FlightID=96648&AdID=98138&TargetID=635&Values=31,43,51,60,72,82,91,100,110,312,330,332,499,587,702,733,734&Redirect=http://adcn.doubleclick.net/clk;134682177;20226578;k%3Fhttp://www.rising.com.cn/2008/trial/index.htm>
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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