()
| 21 | |
| 22 | impl<T: Clone + Copy + Default, const CHANNELS: usize> ConstSequentialBuffer<T, CHANNELS> { |
| 23 | pub const fn empty() -> Self { |
| 24 | assert!(CHANNELS > 0); |
| 25 | |
| 26 | Self { |
| 27 | buffer: Vec::new(), |
| 28 | num_frames: 0, |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | pub fn new(frames: usize) -> Self { |
| 33 | assert!(CHANNELS > 0); |
nothing calls this directly
no outgoing calls
no test coverage detected