Zig build for xiph/opus-tools
  • C 80.2%
  • Zig 19.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-01-16 16:44:27 -08:00
include init 2024-10-13 01:56:14 +02:00
.gitignore Initial commit 2024-10-13 00:52:36 +02:00
build.zig update to zig 0.16.0-dev 2025-12-02 16:30:18 +01:00
build.zig.zon bump patch version 2026-01-16 16:44:27 -08:00
LICENSE Initial commit 2024-10-13 00:52:36 +02:00
README.md init 2024-10-13 01:56:14 +02:00

opus-tools

Zig build for xiph/opus-tools

NOTE

This package currently only covers speex_resampler.h. PRs welcome if more coverage of the upstream project is needed.

To use the library correctly you have to define two macros:

const c = @cImport({
    @cDefine("OUTSIDE_SPEEX", "1");
    @cDefine("RANDOM_PREFIX", "speex");
    @cInclude("speex_resampler.h");
});