[−][src]Module bae_rs::sample_format
Sample Format
Module containing different output formats like stereo, 2.1, 5.1, 7.1, etc.
All functions that deal with converting raw bytes to numeric types assume the bytes are in little-endian format.
Re-exports
pub use stereo::*; |
Modules
stereo | Stereo Data |
Traits
Panner | Trait implementing the ability to pan a monophonic sample into a ployphonic
sample. This is generic for the polyphonic type and the type that defines
how it is panned. To see an implementation, see
|
Functions
sample_from_i16 | Converts an i16 16-bit sample to a |
sample_from_i16_bytes | Converts raw bytes to a |
sample_from_i24 | Converts an i32 24-bit sample to a |
sample_from_i24_bytes | Converts raw bytes to a |
sample_from_u8 | Converts a u8 8-bit sample to a |
sample_from_u8_bytes | Converts a raw byte to a |
sample_to_i16 | Converts a |
sample_to_i16_bytes | Converts a |
sample_to_i24 | Converts a |
sample_to_i24_bytes | Converts a |
sample_to_u8 | Converts a |
sample_to_u8_bytes | Converts a |