pub fn spec(&self) -> SignalSpec {
        let layout = match self.n_channels() {
            1 => Layout::Mono,
            2 => Layout::Stereo,
            _ => unreachable!(),
        };

        SignalSpec::new_with_layout(self.sample_rate, layout)
    }
/// Returns a signal specification for the frame.
Returns a signal specification for the frame.
Returns a signal specification for the frame .
pub fn spec(&self) -> SignalSpec {
        let layout = match self.n_channels() {
            1 => Layout::Mono,
            2 => Layout::Stereo,
            _ => unreachable!(),
        };
        SignalSpec::new_with_layout(self.sample_rate, layout)
    }
pub fn spec ( & self ) -> SignalSpec { let layout = match self . n_channels ( ) { 1 => Layout :: Mono , 2 => Layout :: Stereo , _ => unreachable ! ( ) , } ; SignalSpec :: new_with_layout ( self . sample_rate , layout ) }
Returns a signal specification for the frame.
Returns a signal specification for the frame .
&self
&self