Media::Sound::WaveformComputerImpl::LoopWrapper Struct Reference

Public Types

using frame_fun_t = bool(*)(LoopWrapper &h, int64_t start_frame, ossia::small_vector< float, 8 > &out) noexcept
 
using absmax_frame_fun_t = bool(*)(LoopWrapper &h, int64_t start_frame, int64_t end_frame, ossia::small_vector< float, 8 > &out) noexcept
 
using minmax_frame_fun_t = bool(*)(LoopWrapper &h, int64_t start_frame, int64_t end_frame, ossia::small_vector< FloatPair, 8 > &out) noexcept
 

Public Member Functions

bool frame (int64_t start_frame, ossia::small_vector< float, 8 > &out) noexcept
 
bool absmax_frame (int64_t start_frame, int64_t end_frame, ossia::small_vector< float, 8 > &out) noexcept
 
bool minmax_frame (int64_t start_frame, int64_t end_frame, ossia::small_vector< FloatPair, 8 > &out) noexcept
 

Static Public Member Functions

static bool normal_frame (LoopWrapper &h, int64_t start_frame, ossia::small_vector< float, 8 > &out) noexcept
 
static bool normal_absmax_frame (LoopWrapper &h, int64_t start_frame, int64_t end_frame, ossia::small_vector< float, 8 > &out) noexcept
 
static bool normal_minmax_frame (LoopWrapper &h, int64_t start_frame, int64_t end_frame, ossia::small_vector< FloatPair, 8 > &out) noexcept
 
static bool loop_frame (LoopWrapper &h, int64_t start_frame, ossia::small_vector< float, 8 > &out) noexcept
 
static bool loop_absmax_frame (LoopWrapper &h, int64_t start_frame, int64_t end_frame, ossia::small_vector< float, 8 > &out) noexcept
 
static bool loop_minmax_frame (LoopWrapper &h, int64_t start_frame, int64_t end_frame, ossia::small_vector< FloatPair, 8 > &out) noexcept
 

Public Attributes

AudioFile::ViewHandlehandle
 
int64_t decoded_samples {}
 
int64_t start_offset {}
 
int64_t duration {}
 
frame_fun_t frame_impl {}
 
absmax_frame_fun_t absmax_frame_impl {}
 
minmax_frame_fun_t minmax_frame_impl {}
 

The documentation for this struct was generated from the following file:
  • WaveformComputer.cpp