]> git.alsa-project.org Git - tinycompress.git/commit
lib: introduce compress_get_hpointer64
authorJaroslav Kysela <perex@perex.cz>
Wed, 21 Jan 2026 10:58:43 +0000 (11:58 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 28 May 2026 14:34:09 +0000 (16:34 +0200)
commit724b1fc9893c2afccad19d197220552e05125b72
tree73612e89b84d5b2f75e1970611dfb0df67e32e1e
parentc380c4e3cf8a5d514d4c2531096560f22bd0b5a4
lib: introduce compress_get_hpointer64

Allow to pass unwrapped avail value to applications. Introduce
new compress_get_hpointer64() function and change callback
in ops.

Use UINT_MAX limiting rather than blind wrap like in the previous
code in compress_get_hpointer().

Closes: https://github.com/alsa-project/tinycompress/pull/31
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
include/tinycompress/compress_ops.h
include/tinycompress/tinycompress.h
src/lib/compress.c
src/lib/compress_hw.c