8000 GitHub - aubaugh/libopenmpt-sys: Rust sys bindings for libopenmpt
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

aubaugh/libopenmpt-sys

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libopenmpt-sys

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.

Dependencies

The libopenmpt shared library

Regenerating bindings

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/.

Example

To play a module with the use of the 'cpal' crate. Run cargo run --example play <mod file path>

License

BSD-3-Clause

About

Rust sys bindings for libopenmpt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.7%
  • Other 0.3%
0