docs.rs failed to build libsoxr-0.1.6
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
libsoxr-0.2.9
libsoxr-rs
This library is a thin wrapper for libsoxr which is a "High quality, one-dimensional sample-rate conversion library".
This wrapper library is licensed the same as libsoxr itself: LGPLv2.
The documentation can be found here.
Install
add the following to your Cargo.toml:
[]
= "https://github.com/lrbalt/libsoxr-rs"
and add the crate:
extern crate libsoxr;
use Soxr;
Example
// upscale factor 2, one channel with all the defaults
let s = create.unwrap;
// source data, taken from 1-single-block.c of libsoxr examples.
let source: = ;
// create room for 2*48 = 96 samples
let mut target: = ;
// two runs. last run with None to inform resampler of end-of-input
let result = s.process.and_then;