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

◆ apply_gain_channels()

MAYAFLUX_API void MayaFlux::apply_gain_channels ( std::vector< Kakshya::DataVariant > &  channels,
double  gain_factor 
)

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

Parameters
channelsVector of channel data (modified in-place)
gain_factorMultiplication factor applied to all channels

Definition at line 527 of file Yantra.cpp.

528{
529 for (auto& ch : channels)
530 apply_gain(ch, gain_factor);
531}
void apply_gain(std::vector< double > &data, double gain_factor)
Apply gain to single-channel data (in-place)
Definition Yantra.cpp:517

References apply_gain().

Referenced by normalize_together().

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