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.

18 lines
340B

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