audioadapter-compat-ndarray 1.0.0

audioadapter trait implementations for 2D ndarray arrays
Documentation
  • Coverage
  • 100%
    13 out of 13 items documented1 out of 12 items with examples
  • Size
  • Source code size: 14.9 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 218.0 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 6s Average build duration of successful builds.
  • all releases: 6s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • HEnquist/audioadapter-rs
    20 2 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • HEnquist

audioadapter-compat-ndarray

audioadapter trait implementations for two-dimensional ndarray arrays (ArrayBase<_, Ix2>, including Array2<T> and array views).

The axis order is chosen explicitly:

  • NdarrayAdapter::new_channels_frames for arrays shaped (channels, frames).
  • NdarrayAdapter::new_frames_channels for arrays shaped (frames, channels).

Sample access uses ndarray indexing, so it is correct for any memory layout, and the bulk copy helpers take a contiguous-slice fast path in the common standard-layout case.

Versioning

This crate exposes types from both audioadapter and ndarray in its public API, so its version is tied to one major version of each.

This 1.x release targets audioadapter 5.x and ndarray 0.17.x.

A new incompatible release of either dependency is supported by a new major version of this crate. Pick the version that matches what you use:

this crate audioadapter ndarray
1.x 5.x 0.17.x

Changelog

See the changelog.

License

Licensed under either of Apache-2.0 or MIT at your option.