Crates.io | lv2rs-atom |
lib.rs | lv2rs-atom |
version | 0.1.2 |
source | src |
created_at | 2019-02-21 11:36:04.692658 |
updated_at | 2019-05-03 17:51:13.679191 |
description | Rust adaptation prototype of the atom type system for LV2 |
homepage | |
repository | https://github.com/Janonard/lv2rs |
max_upload_size | |
id | 116198 |
size | 92,055 |
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.
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.
If you want to get started with LV2, you should start with the root crate and check out the book.