rytm_sys/lib.rs
1#![allow(non_camel_case_types)]
2#![allow(non_snake_case)]
3#![allow(non_upper_case_globals)]
4
5//! Rust bindings for [`libanalogrytm`](https://github.com/bsp2/libanalogrytm).
6//!
7//! This crate is not meant to be used directly, but rather as a dependency of [rytm-rs](https://github.com/alisomay/rytm-rs).
8
9include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
10
11impl Default for ar_plock_seq_t {
12 fn default() -> Self {
13 ar_plock_seq_t {
14 plock_type: 0xFF,
15 track_nr: 0xFF,
16 // This is not project default in AR but I think it is more sound.
17 // The project default is 0x00 in AR.
18 data: [0xFF; 64],
19 }
20 }
21}