STRUCT SOF_IPC4_TIMESTAMP_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct sof_ipc4_timestamp_info(9) β€” Kernel API Manual πŸŽ€

okay so bestie, welcome to the Kernel API Manual page for struct sof_ipc4_timestamp_info ✨ this is the IPC4 timestamp info struct, and honestly? she's a little bookkeeping queen and we're obsessed 🫢


✨ NAME ✨

struct sof_ipc4_timestamp_info β€” IPC4 timestamp info πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

struct sof_ipc4_timestamp_info {
    struct sof_ipc4_copier *host_copier;
    struct sof_ipc4_copier *dai_copier;
    u64 stream_start_offset;
    u64 stream_end_offset;
    u32 llp_offset;
    snd_pcm_sframes_t delay;
 };

like, that's the whole shape of her, no cap πŸ’…

🌸 Members 🌸

  • host_copier β€” the host copier of the pcm stream πŸŽ€ literally the host-side main character of this stream
  • dai_copier β€” the dai copier of the pcm stream 🌈 the dai-side counterpart, she's giving support role but make it essential
  • stream_start_offset β€” reported by fw in memory window (converted to frames at host_copier sampling rate) ⭐ so the firmware tells us this one, and it gets converted into frames using the host_copier sampling rate. iykyk
  • stream_end_offset β€” reported by fw in memory window (converted to frames at host_copier sampling rate) πŸ”₯ same deal as above: fw reports it in the memory window, and it's converted to frames at the host_copier sampling rate
  • llp_offset β€” llp offset in memory window πŸ’€ that's it, that's the vibe β€” it's the llp offset, in the memory window
  • delay β€” Calculated and stored in pointer callback. The stored value is returned in the delay callback. Expressed in frames at host copier sampling rate. πŸ• okay so this one gets calculated and stored in the pointer callback, then the stored value gets returned in the delay callback, and it's expressed in frames at the host copier sampling rate. periodt.

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./sound/soc/sof/ipc4-pcm.c struct sof_ipc4_pcm_stream_priv(9) πŸ¦‹ go read her too, she's linked, she's iconic

bestie reminder: all the offsets and the delay are in frames at the host copier sampling rate, so don't come for me if you forget the conversion πŸ™ˆ

and that's the page!! πŸ“ this was ./sound/soc/sof, October 2026, struct sof_i...mestamp_info(9) β€” mwah, love u, go read the source πŸ’œβœ¨

πŸ“¦ where this page comes from