12#ifndef __IPC_PROBE_DMA_FRAME_H__
13#define __IPC_PROBE_DMA_FRAME_H__
29} __attribute__((packed, aligned(4)));
32#define PROBE_EXTRACT_SYNC_WORD 0xBABEBEBA
38#define PROBE_SHIFT_FMT_TYPE 31
39#define PROBE_SHIFT_STANDARD_TYPE 27
40#define PROBE_SHIFT_AUDIO_FMT 23
41#define PROBE_SHIFT_SAMPLE_RATE 19
42#define PROBE_SHIFT_NB_CHANNELS 14
43#define PROBE_SHIFT_SAMPLE_SIZE 12
44#define PROBE_SHIFT_CONTAINER_SIZE 10
45#define PROBE_SHIFT_SAMPLE_FMT 9
46#define PROBE_SHIFT_SAMPLE_END 8
47#define PROBE_SHIFT_INTERLEAVING_ST 7
49#define PROBE_MASK_FMT_TYPE MASK(31, 31)
50#define PROBE_MASK_STANDARD_TYPE MASK(30, 27)
51#define PROBE_MASK_AUDIO_FMT MASK(26, 23)
52#define PROBE_MASK_SAMPLE_RATE MASK(22, 19)
53#define PROBE_MASK_NB_CHANNELS MASK(18, 14)
54#define PROBE_MASK_SAMPLE_SIZE MASK(13, 12)
55#define PROBE_MASK_CONTAINER_SIZE MASK(11, 10)
56#define PROBE_MASK_SAMPLE_FMT MASK(9, 9)
57#define PROBE_MASK_SAMPLE_END MASK(8, 8)
58#define PROBE_MASK_INTERLEAVING_ST MASK(7, 7)
Header for data packets sent via compressed PCM from extraction probes.
Definition probe_dma_frame.h:21
uint32_t data_size_bytes
Byte length of extracted payload in data[].
Definition probe_dma_frame.h:27
uint32_t format
Encoded 32-bit audio data format.
Definition probe_dma_frame.h:24
uint32_t timestamp_high
High 32 bits of hardware timestamp in microseconds.
Definition probe_dma_frame.h:26
uint32_t buffer_id
Buffer ID from which data was extracted.
Definition probe_dma_frame.h:23
uint32_t sync_word
Magic synchronization marker (PROBE_EXTRACT_SYNC_WORD)
Definition probe_dma_frame.h:22
uint32_t timestamp_low
Low 32 bits of hardware timestamp in microseconds.
Definition probe_dma_frame.h:25
uint8_t data[]
Extracted audio samples.
Definition probe_dma_frame.h:28