sample rate support

This commit is contained in:
Tom Gowan 2018-11-02 22:06:08 +11:00 • committed by mitchmindtree
parent b0b0484d4b
commit 6e0eb073d1
7 changed files with 150 additions and 17 deletions

View file

@ -167,6 +167,8 @@ fn create_bindings(cpal_asio_dir: &PathBuf) {
.whitelist_function("ASIOGetChannelInfo")
.whitelist_function("ASIOGetBufferSize")
.whitelist_function("get_sample_rate")
.whitelist_function("set_sample_rate")
.whitelist_function("can_sample_rate")
.whitelist_function("ASIOInit")
.whitelist_function("ASIOCreateBuffers")
.whitelist_function("ASIOStart")