Docs.rs
oddio-0.7.4
oddio 0.7.4
Docs.rs crate page
MIT OR Apache-2.0
Links
Repository
crates.io
Source
Owners
Ralith
Dependencies
libm ^0.2.1
normal
mint ^0.5.5
normal
cpal ^0.13.1
dev
hound ^3.4
dev
Versions
100%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
oddio
0.7.4
Sample
Trait Implementations
Frame
In crate oddio
?
Type Alias
oddio
::
Sample
source
·
[
−
]
pub type Sample =
f32
;
Expand description
Unitless instantaneous sound wave amplitude measurement
Trait Implementations
§
source
§
impl
Frame
for
Sample
source
§
const
ZERO
:
Sample
= 0f32
A frame with zeroes in every channel
source
§
fn
channels
(&self) -> &[
Sample
]
Access the frame’s channels
source
§
fn
channels_mut
(&mut self) -> &mut [
Sample
]
Mutably access the frame’s channels