Element that plays silence when stream stops?

Nicolas Dufresne nicolas.dufresne at gmail.com
Wed Jul 6 12:40:55 UTC 2016


Le mercredi 06 juillet 2016 à 13:13 +0200, marcin at saepia.net a écrit :
> I am developing an app in which I use shmsink/shmsrc to communicate
> between processes. They send audio to each other.
> 
> If data in the sender is not flowing (e.g. I fetch file over HTTP and
> the transfer is temporarily stopped) the shmsrc also stops, as
> there's no data to consume.
> 
> I would prefer that it keeps going and playing silence. Is there any
> element for this? (maybe audiorate?)

It's not designed for this, though if your pipeline is live, audiomixer
will keep producing even if the source(s) stops. This only works with
live sources, so maybe use it in front of shmsrc ?

Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160706/35454f8c/attachment.sig>


More information about the gstreamer-devel mailing list