Crates.io | libopenmpt-sys |
lib.rs | libopenmpt-sys |
version | 0.3.0 |
source | src |
created_at | 2024-08-10 23:00:01.667782 |
updated_at | 2024-08-10 23:00:01.667782 |
description | Raw bindings for libopenmpt |
homepage | |
repository | https://github.com/aubaugh/libopenmpt-sys |
max_upload_size | |
id | 1332787 |
size | 67,261 |
Rust raw FFI bindings for libopenmpt.
To avoid long build times, the finished bindings are committed to this repository. If you would prefer to generate the bindings at build time, there is a 'generate-bindings' feature to do so.
The libopenmpt shared library
To regenerate the bindings: ensure you have the development headers for libopenmpt installed and run ./regenerate_bindings.sh
.
This will generate the bindings with the build script, and run the regenerate_bindings binary, which copies the generated bindings into src/.
To play a module with the use of the 'cpal' crate. Run cargo run --example play <mod file path>
BSD-3-Clause