diff --git a/src/buffer.rs b/src/buffer.rs index 83ca8b58..d4ba8aa9 100644 --- a/src/buffer.rs +++ b/src/buffer.rs @@ -11,6 +11,9 @@ use std::simd::{LaneCount, Simd, SupportedLaneCount}; /// inputs already copied to the outputs. You can either use the iterator adapters to conveniently /// and efficiently iterate over the samples, or you can do your own thing using the raw audio /// buffers. +/// +/// TODO: This lifetime makes zero sense because you're going to need unsafe lifetime casts to use +/// this either way. Maybe just get rid of it in favor for raw pointers. #[derive(Default)] pub struct Buffer<'a> { /// Contains slices for the plugin's outputs. You can't directly create a nested slice form