Skip to content
Crystal lang bindings for chaudio
Crystal
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
spec
src
.editorconfig
.gitignore
.travis.yml
LICENSE
README.md
shard.yml

README.md

chaudio-cr

Crystal bindings for the chaudio library

Usage

Add this to your application's shard.yml:

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:

require "../lib/chaudio-cr/src/chaudio.cr"

Please see the original library for more details.

Development

TODO: Write development instructions here

Contributing

  1. Fork it (https://github.com/your-github-user/chaudio.cr/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

You can’t perform that action at this time.