Why is wav file mixed by soundmixer plugin truncated?

Nicolas Dufresne nicolas at ndufresne.ca
Tue Dec 5 19:28:03 UTC 2017


Le mardi 05 décembre 2017 à 08:49 -0700, toub a écrit :
> By the way, is there any mean to modifiy the pipeline latency
> computation ?

Yes, for global latency, see gst_pipeline_set_latency(), for per sink
latency, you have to override the "do-latency" signal. This is
typically done by copying over the GstBin implementation and modifying
it for you need. You can then have per sink latency.

Per sink latency is needed if you want to do something like this:

Host 1:
  src    -> tee -> speaker
                   network

Host 2:
  netsrc    ->    speaker 

And you want both the local speaker and the remove speaker to playback
at the same time (all assuming you have a shared clock). By overriding
the do-latency signal, you can set extra latency on Host 1 speaker
sink, latency that correspond to the expected latency for data to be
streamed from the network sink to the Host 2 speaker.
 
Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171205/96360f20/attachment-0001.sig>


More information about the gstreamer-devel mailing list