Lines Matching refs:samplingRate
110 uint32_t samplingRate; // sampling rate at effect process interface member
856 session->samplingRate = kPreprocDefaultSr; in Session_CreateEffect()
903 if (config->inputCfg.samplingRate != config->outputCfg.samplingRate || in Session_SetConfig()
909 ALOGV("Session_SetConfig sr %d cnl %08x", config->inputCfg.samplingRate, in Session_SetConfig()
912 session->samplingRate = config->inputCfg.samplingRate; in Session_SetConfig()
913 session->frameCount = session->samplingRate / 100; in Session_SetConfig()
916 session->inputConfig.set_sample_rate_hz(session->samplingRate); in Session_SetConfig()
918 session->outputConfig.set_sample_rate_hz(session->samplingRate); in Session_SetConfig()
922 session->revConfig.set_sample_rate_hz(session->samplingRate); in Session_SetConfig()
931 config->inputCfg.samplingRate = config->outputCfg.samplingRate = session->samplingRate; in Session_GetConfig()
941 if (config->inputCfg.samplingRate != config->outputCfg.samplingRate || in Session_SetReverseConfig()
947 ALOGV("Session_SetReverseConfig sr %d cnl %08x", config->inputCfg.samplingRate, in Session_SetReverseConfig()
953 if (config->inputCfg.samplingRate != session->samplingRate || in Session_SetReverseConfig()
965 config->inputCfg.samplingRate = config->outputCfg.samplingRate = session->samplingRate; in Session_GetReverseConfig()
1073 inBuffer->frameCount, session->frameCount, session->samplingRate); in PreProcessingFx_Process()
1474 inBuffer->frameCount, session->frameCount, session->samplingRate); in PreProcessingFx_ProcessReverse()