]> git.alsa-project.org Git - tinycompress.git/commit
utils: sofprobeclient: embed SOF probe parser for real-time demux
authorJyri Sarha <jyri.sarha@linux.intel.com>
Mon, 30 Mar 2026 21:47:33 +0000 (00:47 +0300)
committerJaroslav Kysela <perex@perex.cz>
Fri, 29 May 2026 12:04:53 +0000 (14:04 +0200)
commitcb3340621f73bb2d0b939461d8e22835d8c4b845
treea548a5e021615447d97a1c48d162869d507011c9
parent80cb260f654d8c47474687431dc5a78b1610d90c
utils: sofprobeclient: embed SOF probe parser for real-time demux

Integrate the sof-probes demux engine directly into sofprobeclient so
captured compressed data is parsed in real time instead of being
written to a raw file.

Log output from non-audio probe points is printed to stdout
(equivalent to sof-probes -l). Audio probe data is extracted into
buffer_<id>.wav files in the current directory. The file output
parameter is removed; sofprobeclient no longer acts as a generic
recorder.

New files copied from SOF v2.9 sources tools/probes/ with include
paths adjusted for standalone tinycompress build:
  probes_demux.c / probes_demux.h  - probe stream parser
  probes_wave.h                    - WAV header definitions
  probe_dma_frame.h                - DMA frame packet format

Closes: https://github.com/alsa-project/tinycompress/pull/35
Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/utils/Makefile.am
src/utils/probe_dma_frame.h [new file with mode: 0644]
src/utils/probes_demux.c [new file with mode: 0644]
src/utils/probes_demux.h [new file with mode: 0644]
src/utils/probes_wave.h [new file with mode: 0644]
src/utils/sofprobeclient.c