RustAudio / coreaudio-sys

Raw bindings to the OSX CoreAudio framework generated by bindgen (see coreaudio-rs for a more rust-esque wrapper).
MIT License
69 stars 38 forks source link

Generate bindings with build.rs. Add CoreAudio, AudioToolbox, more. #4

Closed mitchmindtree closed 6 years ago

mitchmindtree commented 6 years ago

Switches from a static set of bindings to generating them with bindgen at compile time using a build.rs script. This change is pretty significant as it requires that users are able to run bindgen on the machine with which they are building coreaudio-sys. This is the recommended approach by bindgen, however if too many users run into issues we'll try and switch back to the pre-generated, static binding approach as we had before.

Bindings to each framework can be optionally included and linked via the newly included cargo features. By default, all frameworks are included.

Now includes bindings to the following frameworks:

Publish 0.2 for new frameworks and move to generated bindings.

Closes #3. cc @duane this PR includes the AudioToolbox framework you mentioned in #3.

mitchmindtree commented 6 years ago

Published as 0.2.0.