MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ apply_gain() [2/2]

MAYAFLUX_API void MayaFlux::apply_gain ( std::vector< double > &  data,
double  gain_factor 
)

Apply gain to single-channel data (in-place)

Parameters
dataInput data (modified in-place)
gain_factorMultiplication factor

Definition at line 517 of file Yantra.cpp.

518{
519 D::linear(as_span(data), gain_factor, 0.0);
520}

References MayaFlux::Kinesis::Discrete::linear().

Referenced by apply_gain_channels(), apply_gain_per_channel(), mix(), and mix().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: