STRUCT SOF_IPC4_TIMESTAMP_INFO(9)
π 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 streamdai_copierβ the dai copier of the pcm stream π the dai-side counterpart, she's giving support role but make it essentialstream_start_offsetβ reported by fw in memory window (converted to frames athost_copiersampling rate) β so the firmware tells us this one, and it gets converted into frames using thehost_copiersampling rate. iykykstream_end_offsetβ reported by fw in memory window (converted to frames athost_copiersampling rate) π₯ same deal as above: fw reports it in the memory window, and it's converted to frames at thehost_copiersampling ratellp_offsetβ llp offset in memory window π that's it, that's the vibe β it's the llp offset, in the memory windowdelayβ 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.cstructsof_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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms