You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

frame.hpp 298B

1234567891011121314
  1. #pragma once
  2. #include <stdlib.h>
  3. namespace rack {
  4. /** Useful for storing arrays of samples in ring buffers and casting them to `float*` to be used by interleaved processors, like SampleRateConverter */
  5. template <size_t CHANNELS>
  6. struct Frame {
  7. float samples[CHANNELS];
  8. };
  9. } // namespace rack