4 releases
0.1.2 | May 3, 2019 |
---|---|
0.1.1 | Apr 25, 2019 |
0.1.0 | Apr 7, 2019 |
0.0.0 | Feb 21, 2019 |
#23 in #lv2
41 downloads per month
Used in 2 crates
95KB
1K
SLoC
lv2rs-atom: Rust adaptation prototype of the atom type system for LV2.
The purpose of this crate is to provide safe, idiomatic and easy-to-use means to use the type system introduced by the LV2 atom library. This type system is (relatively) portable and can be used to exchange information of arbitrary type among LV2 plugins.
What are atoms?
On an abstract level, every atom consist of a header, which contains the URID of the atom type and a size in bytes, and body, a chunk of memory with the specified size. The interpretation of this body is dependent on the atom type and one of the features of this crate. Since this data is supposed to be "plain old data" and therefore must not contain references to other objects, the host does not need to "understand" the atoms; It simply copies the data.
Getting started
If you want to get started with LV2, you should start with the root crate and check out the book.