Audacity 3.2.0
Namespaces | Classes | Typedefs | Functions
DynamicRangeProcessorUtils Namespace Reference

Namespaces

namespace  anonymous_namespace{DynamicRangeProcessorUtils.cpp}
 
namespace  Detail
 

Classes

struct  Preset
 

Typedefs

using CompressorPreset = Preset< CompressorSettings >
 
using LimiterPreset = Preset< LimiterSettings >
 

Functions

DYNAMIC_RANGE_PROCESSOR_API std::vector< CompressorPresetGetCompressorPresets ()
 
DYNAMIC_RANGE_PROCESSOR_API std::vector< LimiterPresetGetLimiterPresets ()
 
 TEST_CASE ("DynamicRangeProcessorUtils")
 

Detailed Description


Audacity: A Digital Audio Editor

DynamicRangeProcessorUtils.cpp

Matthieu Hodgkinson


Audacity: A Digital Audio Editor

DynamicRangeProcessorUtils.h

Matthieu Hodgkinson


Audacity: A Digital Audio Editor

DynamicRangeProcessorUtilsTests.cpp

Matthieu Hodgkinson

Typedef Documentation

◆ CompressorPreset

Definition at line 25 of file DynamicRangeProcessorUtils.h.

◆ LimiterPreset

Definition at line 26 of file DynamicRangeProcessorUtils.h.

Function Documentation

◆ GetCompressorPresets()

std::vector< DynamicRangeProcessorUtils::CompressorPreset > DynamicRangeProcessorUtils::GetCompressorPresets ( )

Definition at line 114 of file DynamicRangeProcessorUtils.cpp.

115{
116 return GetPresets<CompressorSettings>(
118}
const std::vector< SerializedPreset > serializedCompressorPresets
static const std::vector< SettingDescription< CompressorSettings > > compressorSettingDescriptions

References DynamicRangeProcessorUtils::anonymous_namespace{DynamicRangeProcessorUtils.cpp}::compressorSettingDescriptions, and DynamicRangeProcessorUtils::Detail::serializedCompressorPresets.

Referenced by EffectCompressor::GetFactoryPresets(), EffectCompressor::LoadFactoryPreset(), and TEST_CASE().

Here is the caller graph for this function:

◆ GetLimiterPresets()

std::vector< DynamicRangeProcessorUtils::LimiterPreset > DynamicRangeProcessorUtils::GetLimiterPresets ( )

Definition at line 121 of file DynamicRangeProcessorUtils.cpp.

122{
123 return GetPresets<LimiterSettings>(
125}
const std::vector< SerializedPreset > serializedLimiterPresets
const std::vector< SettingDescription< LimiterSettings > > limiterSettingDescriptions

References DynamicRangeProcessorUtils::anonymous_namespace{DynamicRangeProcessorUtils.cpp}::limiterSettingDescriptions, and DynamicRangeProcessorUtils::Detail::serializedLimiterPresets.

Referenced by EffectLimiter::GetFactoryPresets(), EffectLimiter::LoadFactoryPreset(), and TEST_CASE().

Here is the caller graph for this function:

◆ TEST_CASE()

DynamicRangeProcessorUtils::TEST_CASE ( "DynamicRangeProcessorUtils"  )

Definition at line 16 of file DynamicRangeProcessorUtilsTests.cpp.

17{
18 SECTION("GetCompressorPresets")
19 {
20 REQUIRE(
23 }
24 SECTION("GetLimiterPresets")
25 {
26 REQUIRE(
28 }
29}
DYNAMIC_RANGE_PROCESSOR_API std::vector< CompressorPreset > GetCompressorPresets()
DYNAMIC_RANGE_PROCESSOR_API std::vector< LimiterPreset > GetLimiterPresets()

References GetCompressorPresets(), GetLimiterPresets(), DynamicRangeProcessorUtils::Detail::serializedCompressorPresets, DynamicRangeProcessorUtils::Detail::serializedLimiterPresets, and size.

Here is the call graph for this function: