bool CFGFilterLAVAudio::Settings::GetSettings(CComQIPtr<ILAVAudioSettings> pLAVFSettings) { if (!pLAVFSettings) { return false; } bTrayIcon = pLAVFSettings->GetTrayIcon(); pLAVFSettings->GetDRC(&bDRCEnabled, &iDRCLevel); bDTSHDFraming = pLAVFSettings->GetDTSHDFraming(); bAutoAVSync = pLAVFSettings->GetAutoAVSync(); bExpandMono = pLAVFSettings->GetExpandMono(); bExpand61 = pLAVFSettings->GetExpand61(); bOutputStandardLayout = pLAVFSettings->GetOutputStandardLayout(); bOutput51Legacy = pLAVFSettings->GetOutput51LegacyLayout(); bMixingEnabled = pLAVFSettings->GetMixingEnabled(); dwMixingLayout = pLAVFSettings->GetMixingLayout(); dwMixingFlags = pLAVFSettings->GetMixingFlags(); dwMixingMode = pLAVFSettings->GetMixingMode(); pLAVFSettings->GetMixingLevels(&dwMixingCenterLevel, &dwMixingSurroundLevel, &dwMixingLFELevel); pLAVFSettings->GetAudioDelay(&bAudioDelayEnabled, &iAudioDelay); for (int i = 0; i < Bitstream_NB; ++i) { bBitstream[i] = pLAVFSettings->GetBitstreamConfig((LAVBitstreamCodec)i); } for (int i = 0; i < SampleFormat_Bitstream; ++i) { bSampleFormats[i] = pLAVFSettings->GetSampleFormat((LAVAudioSampleFormat)i); } bSampleConvertDither = pLAVFSettings->GetSampleConvertDithering(); return true; }