Audacity  2.2.2
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 18 of file RealFFTf.h.

Member Function Documentation

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

Definition at line 136 of file RealFFTf.cpp.

References getFFTMutex, and hFFTArray().

137 {
138  wxCriticalSectionLocker locker{ getFFTMutex };
139 
140  auto it = hFFTArray.begin(), end = hFFTArray.end();
141  while (it != end && it->get() != hFFT)
142  ++it;
143  if ( it != end )
144  ;
145  else
146  delete hFFT;
147 }
wxCriticalSection getFFTMutex
Definition: RealFFTf.cpp:106
static std::vector< movable_ptr< FFTParam > > hFFTArray(MAX_HFFT)

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