2 releases
0.0.6 | Dec 9, 2023 |
---|---|
0.0.5 | Sep 5, 2020 |
#1926 in Encoding
34 downloads per month
Used in x42ltc
125KB
2.5K
SLoC
Contains (obscure autoconf code, 3KB) vendor/configure.ac
Rust wrapper crates for x42’s libltc
This repository holds the sources for the x42ltc and x42ltc-sys crates. x42ltc-sys provides the FFI bindings to the C library, while x42ltc provides a safe Rust wrapper.
libltc by Robin Gareus (a.k.a. x42) supports the decoding and encoding of Linear/Longitudinal Time Code (LTC) signals, which are used for synchronisation in audio/video workflows.
Naming
The name x42ltc was chosen, because the name ltc has already been taken by another project, which seems to be working on a pure Rust LTC library.
lib.rs
:
bindgen commandline
The following commandline was used to create the initial bindings:
bindgen vendor/src/ltc.h -o src/bindings.rs --with-derive-defaults