MCPcopy Create free account
hub / github.com/carlonluca/pot / SetDynamicRangeCompression

Method SetDynamicRangeCompression

piomxtextures_src/omxplayer_lib/OMXAudio.cpp:753–759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

751
752//***********************************************************************************************
753void COMXAudio::SetDynamicRangeCompression(long drc)
754{
755 CSingleLock lock (m_critSection);
756 m_amplification = powf(10.0f, (float)drc / 2000.0f);
757 if (m_settings_changed)
758 UpdateAttenuation();
759}
760
761//***********************************************************************************************
762void COMXAudio::SetMute(bool bMute)

Callers 2

mainFunction · 0.45
OpenDecoderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected