DSPark 1.8.0
Header-only C++20 DSP for real-time and offline audio
Loading...
Searching...
No Matches
dspark::detail::OfflineProductWorkspace Class Referencefinal

#include <OfflineProduct.h>

Classes

struct  Level
 

Public Types

enum class  NearFields { Hilbert , External }
 
using Coefficients = std::array< double, 2 *order >
 
using Matrix = std::array< std::array< double, order >, order >
 

Public Member Functions

 OfflineProductWorkspace (OfflineSession &job, std::int64_t frames, int block=4096, NearFields nearFields=NearFields::Hilbert)
 
int block () const noexcept
 
std::int64_t frames () const noexcept
 
std::size_t leaves () const noexcept
 
OfflineSession & job () noexcept
 
void prepareCauchy ()
 
template<class Reader >
void read (Reader &source, std::int64_t first, int count, double *out) const
 

Static Public Attributes

static constexpr int order = 24
 

Friends

class OfflineHilbertMap
 

Detailed Description

Definition at line 37 of file OfflineProduct.h.

Member Typedef Documentation

◆ Coefficients

Definition at line 41 of file OfflineProduct.h.

◆ Matrix

using dspark::detail::OfflineProductWorkspace::Matrix = std::array<std::array<double, order>, order>

Definition at line 42 of file OfflineProduct.h.

Member Enumeration Documentation

◆ NearFields

Enumerator
Hilbert 
External 

Definition at line 47 of file OfflineProduct.h.

Constructor & Destructor Documentation

◆ OfflineProductWorkspace()

dspark::detail::OfflineProductWorkspace::OfflineProductWorkspace ( OfflineSession &  job,
std::int64_t  frames,
int  block = 4096,
NearFields  nearFields = NearFields::Hilbert 
)
inline

Definition at line 49 of file OfflineProduct.h.

Member Function Documentation

◆ block()

int dspark::detail::OfflineProductWorkspace::block ( ) const
inlinenoexcept

Definition at line 86 of file OfflineProduct.h.

◆ frames()

std::int64_t dspark::detail::OfflineProductWorkspace::frames ( ) const
inlinenoexcept

Definition at line 87 of file OfflineProduct.h.

◆ job()

OfflineSession & dspark::detail::OfflineProductWorkspace::job ( )
inlinenoexcept

Definition at line 89 of file OfflineProduct.h.

◆ leaves()

std::size_t dspark::detail::OfflineProductWorkspace::leaves ( ) const
inlinenoexcept

Definition at line 88 of file OfflineProduct.h.

◆ prepareCauchy()

void dspark::detail::OfflineProductWorkspace::prepareCauchy ( )
inline

Definition at line 91 of file OfflineProduct.h.

◆ read()

template<class Reader >
void dspark::detail::OfflineProductWorkspace::read ( Reader &  source,
std::int64_t  first,
int  count,
double *  out 
) const
inline

Definition at line 104 of file OfflineProduct.h.

Friends And Related Symbol Documentation

◆ OfflineHilbertMap

friend class OfflineHilbertMap
friend

Definition at line 131 of file OfflineProduct.h.

Member Data Documentation

◆ order

constexpr int dspark::detail::OfflineProductWorkspace::order = 24
staticconstexpr

Definition at line 40 of file OfflineProduct.h.


The documentation for this class was generated from the following file: