Skip to content

Enable user timestamp/pacing in Tx Audio pipeline #1170

@DianaEs2

Description

@DianaEs2

In order to achieve synchronization between 2110-20 and 2110-30 streams, so-called lip sync, we need to pass to MTL the custom timestamps. There are two flags for that in the library.
/**

  • Flag bit in flags of struct st30_tx_ops.
  • User control the frame pacing by pass a timestamp in st30_tx_frame_meta,
  • lib will wait until timestamp is reached for each frame.
    /
    #define ST30_TX_FLAG_USER_PACING (MTL_BIT32(3))
    /
    *
  • Flag bit in flags of struct st30_tx_ops.
  • If enabled, lib will assign the rtp timestamp to the value in
  • st30_tx_frame_meta(ST10_TIMESTAMP_FMT_MEDIA_CLK is used)
    */
    #define ST30_TX_FLAG_USER_TIMESTAMP (MTL_BIT32(4))

The flags are available in frame-mode st30_xxx but not in pipeline mode st30p_xxx. Please expose them in the pipeline mode. If possible please extend RxTxApp sample to test this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions