Crystal bindings for the chaudio library
Add this to your application's
dependencies: chaudio-cr: github: ChemicalDevelopment/chaudio-cr
This requires chaudio to be compiled.
So, install or compile
chaudio (ensuring that it is a static build if possible, it makes linking easier). If you install chaudio to a normal location, nothing else is needed. If it is in a non standard or local location, specify
--link-flags with crystal. i.e.:
crystal run src/MYPROGRAM.cr --link-flags "-L$HOME/projects/chaudio/build/src"
You don't even need to clone or build this manually!
Then, in your project, use:
Please see the original library for more details.
TODO: Write development instructions here
- Fork it (https://github.com/your-github-user/chaudio.cr/fork)
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create a new Pull Request
- your-github-user CadeBrown - creator, maintainer