Audacity 3.2.0
Public Member Functions | List of all members
FFTDeleter Struct Reference

#include <RealFFTf.h>

Public Member Functions

void operator() (FFTParam *p) const
 

Detailed Description

Definition at line 16 of file RealFFTf.h.

Member Function Documentation

◆ operator()()

void FFTDeleter::operator() ( FFTParam p) const

Definition at line 131 of file RealFFTf.cpp.

132{
133 wxCriticalSectionLocker locker{ getFFTMutex };
134
135 auto it = hFFTArray.begin(), end = hFFTArray.end();
136 while (it != end && it->get() != hFFT)
137 ++it;
138 if ( it != end )
139 ;
140 else
141 delete hFFT;
142}
static std::vector< std::unique_ptr< FFTParam > > hFFTArray(MAX_HFFT)
wxCriticalSection getFFTMutex
Definition: RealFFTf.cpp:101
auto end(const Ptr< Type, BaseDeleter > &p)
Enables range-for.
Definition: PackedArray.h:159

References PackedArray::end(), getFFTMutex, and hFFTArray().

Here is the call graph for this function:

The documentation for this struct was generated from the following files: