Audacity 3.2.0
Public Member Functions | List of all members
AudioUnitCleaner< T, fn > Struct Template Reference

Generates deleters for std::unique_ptr that clean up AU plugin state. More...

#include <AudioUnitUtils.h>

Public Member Functions

auto operator() (T *p) noexcept
 

Detailed Description

template<typename T, OSStatus(*)(T *) fn>
struct AudioUnitCleaner< T, fn >

Generates deleters for std::unique_ptr that clean up AU plugin state.

Definition at line 20 of file AudioUnitUtils.h.

Member Function Documentation

◆ operator()()

template<typename T , OSStatus(*)(T *) fn>
auto AudioUnitCleaner< T, fn >::operator() ( T *  p)
inlinenoexcept

Definition at line 22 of file AudioUnitUtils.h.

22{ return fn(p); }
static const auto fn

References fn.


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