[LAD] ALSA Sequencer timestamp on event without scheduling

Clemens Ladisch clemens at ladisch.de
Tue Sep 20 14:26:22 UTC 2016


Felipe Ferreri Tonello wrote:
> On 19/09/16 13:27, Clemens Ladisch wrote:
>> And applications that care about the time of received events
>> tell the sequencer to overwrite the timestamp with the actual delivery
>> time anyway.
>
> Applications only need to care about the timestamp field for that event,
> it doesn't matter who set it (the ALSA Seq scheduler or other client, in
> this case the BLE driver).

When the receiving port has timestamping mode enabled, the sequencer
will overwrite any timestamp that the event had.

When the receiving port does not have timestamping mode enabled, the
application will not read the timestamp, because there is no guarantee
that it is set.

In other words: any application that does care about timestamps will
never see your timestamps.


Regards,
Clemens


More information about the Linux-audio-dev mailing list