Hello team,
We are facing an issue related to audio codec. Please find the description as below:
Capture latency-time is longer than expected
$ gst-launch-1.0 -v alsasrc device=plughw:0,0 device=plughw:0,0 buffer-time=200000 latency-time=10000 ! fakesink
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstAudioSrcClock
/GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: actual-buffer-time = 85306
/GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: actual-latency-time = 42653
Expected results:
/GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: actual-buffer-time = 200000
/GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: actual-latency-time = 10000
The latency-time is expected to be less than or equal 10k, but it is around 42k.
Please help us here.
Regards,
Arjun