Commit b81fa5bc authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

Adding RMS to measures update event

parent 62345095
......@@ -4947,12 +4947,16 @@ void CVACoreImpl::SendAudioDeviceDetectorUpdateEvent()
{
ev.vfInputPeaks.resize( m_oCoreConfig.oAudioDriverConfig.iInputChannels );
m_pInputStreamDetector->GetPeaks( ev.vfInputPeaks, true );
ev.vfInputRMSs.resize( m_oCoreConfig.oAudioDriverConfig.iInputChannels );
m_pInputStreamDetector->GetRMSs( ev.vfInputRMSs, true );
}
if( m_pOutputStreamDetector )
{
ev.vfOutputPeaks.resize( m_oCoreConfig.oAudioDriverConfig.iOutputChannels );
m_pOutputStreamDetector->GetPeaks( ev.vfOutputPeaks, true );
ev.vfOutputRMSs.resize( m_oCoreConfig.oAudioDriverConfig.iOutputChannels );
m_pOutputStreamDetector->GetRMSs( ev.vfOutputRMSs, true );
}
ev.fSysLoad = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment