]> git.alsa-project.org Git - tinycompress.git/commit
compress_ops: add magic and look for compress_plugin_mops symbol
authorJaroslav Kysela <perex@perex.cz>
Wed, 21 Jan 2026 10:31:55 +0000 (11:31 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 28 May 2026 14:34:09 +0000 (16:34 +0200)
commit95132da2c81a7d1a17c353d7226142ad6a2d5c8c
treeb46d5dad07bb6afdcf5a31f3abf92f30500f1977
parentb2489d91da3264ad4aae7345cc4381e2e48bd57f
compress_ops: add magic and look for compress_plugin_mops symbol

We need more validation of passed ops structure to allow
further API changes in future.

This change looks for compress_plugin_mops symbol in the
dynamic plugin library to make sure that the new magic
and new get_tstamp64 members are handled correctly.

Closes: https://github.com/alsa-project/tinycompress/pull/31
Link: https://github.com/alsa-project/tinycompress/pull/29
Link: https://github.com/alsa-project/tinycompress/pull/30
Fixes: 0bd5530 ("compress_ops: add get_tstamp64")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
include/tinycompress/compress_ops.h
src/lib/compress.c
src/lib/compress_hw.c