sound: latency and synchronization measurements

Aris Aris father.aris at gmail.com
Fri May 18 09:23:06 EDT 2018


Hi,

You could try bitbanging any availiable peripheral(i.e gpio) from each
system at the callbacks and have a logic analyzer measuring and reporting
time delay.

Best regards,

Aris

On Fri, May 18, 2018 at 3:37 PM, Muni Sekhar <munisekharrms at gmail.com>
wrote:

> [ Please keep me in CC as I'm not subscribed to the list]
>
> Hi All,
>
> I am trying to characterize the audio synchronization between two
> systems. There is a mechanism to route audio between two systems, we
> run ‘aplay’ at one system and ‘arecord’ in other system.
>
> We need to measure the time difference when audio sample is out at one
> port and arriving at another port in different system.
>
> I plan to add printk’s in “struct snd_pcm_ops” call backs, but does
> these call backs tells when it received first and last audio
> frames\samples?
>
> Or else please suggest any other best method.
>
>
> --
> Thanks,
> Sekhar
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20180518/4ccd37fd/attachment.html>


More information about the Kernelnewbies mailing list