Sound Open Firmware
Loading...
Searching...
No Matches

Audio probe injection and extraction tap points and DMA manager. More...

Include dependency graph for probe.h:

Go to the source code of this file.

Typedefs

typedef ssize_t(* probe_logging_hook_t) (uint8_t *buffer, size_t length)
 Callback hook invoked when a chunk of probe logging data is ready.
 

Functions

void probe_logging_init (probe_logging_hook_t hook)
 Initialize the probe logging backend.
 
int probe_init (const struct probe_dma *extraction_probe_dma)
 Initialize the audio probes subsystem.
 
int probe_deinit (void)
 Deinitialize the probes subsystem and detach extraction DMA.
 
int probe_dma_add (uint32_t count, const struct probe_dma *probe_dma)
 Configure injection DMA channels for inserting audio streams into pipelines.
 
int probe_dma_info (struct sof_ipc_probe_info_params *data, uint32_t max_size)
 Query configuration information for active injection DMAs.
 
int probe_dma_remove (uint32_t count, const uint32_t *stream_tag)
 Disconnect and remove active injection DMA channels.
 
int probe_point_add (uint32_t count, const struct probe_point *probe)
 Attach probe points to audio pipeline buffers for stream tap/injection.
 
int probe_point_info (struct sof_ipc_probe_info_params *data, uint32_t max_size)
 Query configuration of currently active probe points.
 
int probe_point_remove (uint32_t count, const uint32_t *buffer_id)
 Detach and remove probe points from pipeline buffers.
 
static struct probe_pdata * probe_get (void)
 Retrieve global probes private data context from SOF runtime.
 

Detailed Description

Audio probe injection and extraction tap points and DMA manager.