pub fn planes_mut(&mut self) -> AudioPlanesMut<S> {
        // Fill the audio planes structure with references to the written portion of each audio
        // plane.
        let mut planes = AudioPlanesMut::new();

        for channel in self.buf.chunks_exact_mut(self.n_capacity) {
            planes.planes.push(&mut channel[..self.n_frames]);
        }

        planes
    }
/// Gets mutable references to all audio planes (channels) within the buffer.
///
/// Note: This is not a cheap operation. It is advisable that this call is only used when
/// mutating batches of frames. Generally speaking, it is almost always better to use
/// `render()`, `fill()`, `chan_mut()`, and `chan_pair_mut()` to mutate the buffer.
Gets mutable references to all audio planes (channels) within the buffer.
Note: This is not a cheap operation. It is advisable that this call is only used when
mutating batches of frames.
Gets mutable references to all audio planes ( channels ) within the buffer . Note : This is not a cheap operation . It is advisable that this call is only used when mutating batches of frames .
pub fn planes_mut(&mut self) -> AudioPlanesMut<S> {
        // Fill the audio planes structure with references to the written portion of each audio
        // plane.
        let mut planes = AudioPlanesMut::new();
        for channel in self.buf.chunks_exact_mut(self.n_capacity) {
            planes.planes.push(&mut channel[..self.n_frames]);
        }
        planes
    }
pub fn planes_mut ( & mut self ) -> AudioPlanesMut < S > { // Fill the audio planes structure with references to the written portion of each audio // plane. let mut planes = AudioPlanesMut :: new ( ) ; for channel in self . buf . chunks_exact_mut ( self . n_capacity ) { planes . planes . push ( & mut channel [ .. self . n_frames ] ) ; } planes }
Gets mutable references to all audio planes (channels) within the buffer.
Gets mutable references to all audio planes ( channels ) within the buffer .
&mut self
&mut self