GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::audio::DuckingFilter Class Reference

Ducking filter for reducing the volume of a sound when another sound is active. More...

#include <GREM/audio/filters.hpp>

Public Member Functions

 DuckingFilter (SoundStage &soundStage, SoundInstanceID listenTo, const DuckingFilterOptions &options)
 Construct a ducking filter.

Detailed Description

Ducking filter for reducing the volume of a sound when another sound is active.

Constructor & Destructor Documentation

◆ DuckingFilter()

grem::audio::DuckingFilter::DuckingFilter ( SoundStage & soundStage,
SoundInstanceID listenTo,
const DuckingFilterOptions & options )
inlineexplicit

Construct a ducking filter.

Parameters
soundStagesound stage containing the sound instance to listen to.
listenTohandle to the sound instance to listen to.
optionsfilter options, see DuckingFilterOptions.

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