audio-core 0.2.1

The core audio traits
Documentation
1
2
3
4
5
6
7
use crate::Channel;

/// Traits for linear channels.
pub trait LinearChannel: Channel {
    /// Access the linear channel.
    fn as_linear_channel(&self) -> &[Self::Sample];
}