Esempio n. 1
0
void InboundAudioStream::setSettings(const Settings& settings) {
    setMaxFramesOverDesired(settings._maxFramesOverDesired);
    setDynamicJitterBuffers(settings._dynamicJitterBuffers);
    setStaticDesiredJitterBufferFrames(settings._staticDesiredJitterBufferFrames);
    setUseStDevForJitterCalc(settings._useStDevForJitterCalc);
    setWindowStarveThreshold(settings._windowStarveThreshold);
    setWindowSecondsForDesiredCalcOnTooManyStarves(settings._windowSecondsForDesiredCalcOnTooManyStarves);
    setWindowSecondsForDesiredReduction(settings._windowSecondsForDesiredReduction);
    setRepetitionWithFade(settings._repetitionWithFade);
}
Esempio n. 2
0
void InboundAudioStream::loadSettings() {
    setDynamicJitterBuffers(SettingHandles::dynamicJitterBuffers.get());
    setMaxFramesOverDesired(SettingHandles::maxFramesOverDesired.get());
    setStaticDesiredJitterBufferFrames(SettingHandles::staticDesiredJitterBufferFrames.get());
    setUseStDevForJitterCalc(SettingHandles::useStDevForJitterCalc.get());
    setWindowStarveThreshold(SettingHandles::windowStarveThreshold.get());
    setWindowSecondsForDesiredCalcOnTooManyStarves(SettingHandles::windowSecondsForDesiredCalcOnTooManyStarves.get());
    setWindowSecondsForDesiredReduction(SettingHandles::windowSecondsForDesiredReduction.get());
    setRepetitionWithFade(SettingHandles::repetitionWithFade.get());
}