mirror of
https://github.com/allyourcodebase/opus-tools.git
synced 2026-11-17 01:30:34 +00:00
Zig build for xiph/opus-tools
- C 80.2%
- Zig 19.8%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| include | ||
| .gitignore | ||
| build.zig | ||
| build.zig.zon | ||
| LICENSE | ||
| README.md | ||
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");
});