Smooth volume changes(ramping) on state changes

Baek Chang baeksan at ccrma.stanford.edu
Fri Oct 7 12:13:47 PDT 2011


Hi everyone,

I am trying to do the following as a test in the volume element in
gst-plugins-base.

On volume changes, I want to smoothly ramp between the requested volumes
when the pipeline goes into playing or paused states.

Going from PLAYING to PAUSED works as expected, the audio buffers are
changing smoothly.
But, going from PAUSED to PLAYING, no audio buffers are being processed or
sent to the volume element when the state change is received, so it cuts off
with a discontinuity.

Is there a way to ensure that the volume ramp will be applied before the
rest of the pipeline is paused?  Won't the pads stop pushing buffers to the
volume element by the time the change state message is received by the
volume element?

Thanks
-- 
-baeksanchang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111007/3ed4715a/attachment.html>


More information about the gstreamer-devel mailing list