• Home
  • Raw
  • Download

Lines Matching refs:session

89     preproc_session_t *session;     // session the effect is on  member
281 webrtc::GainControl *agc = effect->session->apm->gain_control(); in AgcCreate()
444 webrtc::EchoControlMobile *aec = effect->session->apm->echo_control_mobile(); in AecCreate()
469 *(uint32_t *)pValue = 1000 * effect->session->apm->stream_delay_ms(); in AecGetParameter()
489 status = effect->session->apm->set_stream_delay_ms(value/1000); in AecSetParameter()
567 webrtc::NoiseSuppression *ns = effect->session->apm->noise_suppression(); in NsCreate()
630 void Session_SetProcEnabled(preproc_session_t *session, uint32_t procId, bool enabled);
647 Session_SetProcEnabled(effect->session, effect->procId, false); in Effect_SetState()
679 Session_SetProcEnabled(effect->session, effect->procId, false); in Effect_SetState()
700 Session_SetProcEnabled(effect->session, effect->procId, true); in Effect_SetState()
729 preproc_session_t *session, in Effect_Create() argument
732 effect->session = session; in Effect_Create()
752 int Session_Init(preproc_session_t *session) in Session_Init() argument
757 session->state = PREPROC_SESSION_STATE_INIT; in Session_Init()
758 session->id = 0; in Session_Init()
759 session->io = 0; in Session_Init()
760 session->createdMsk = 0; in Session_Init()
761 session->apm = NULL; in Session_Init()
763 status = Effect_Init(&session->effects[i], i); in Session_Init()
769 extern "C" int Session_CreateEffect(preproc_session_t *session, in Session_CreateEffect() argument
775 ALOGV("Session_CreateEffect procId %d, createdMsk %08x", procId, session->createdMsk); in Session_CreateEffect()
777 if (session->createdMsk == 0) { in Session_CreateEffect()
778 session->apm = webrtc::AudioProcessing::Create(session->io); in Session_CreateEffect()
779 if (session->apm == NULL) { in Session_CreateEffect()
783 session->apm->set_sample_rate_hz(kPreprocDefaultSr); in Session_CreateEffect()
784 session->apm->set_num_channels(kPreProcDefaultCnl, kPreProcDefaultCnl); in Session_CreateEffect()
785 session->apm->set_num_reverse_channels(kPreProcDefaultCnl); in Session_CreateEffect()
786 session->procFrame = new webrtc::AudioFrame(); in Session_CreateEffect()
787 if (session->procFrame == NULL) { in Session_CreateEffect()
791 session->revFrame = new webrtc::AudioFrame(); in Session_CreateEffect()
792 if (session->revFrame == NULL) { in Session_CreateEffect()
796 session->apmSamplingRate = kPreprocDefaultSr; in Session_CreateEffect()
797 session->apmFrameCount = (kPreprocDefaultSr) / 100; in Session_CreateEffect()
798 session->frameCount = session->apmFrameCount; in Session_CreateEffect()
799 session->samplingRate = kPreprocDefaultSr; in Session_CreateEffect()
800 session->inChannelCount = kPreProcDefaultCnl; in Session_CreateEffect()
801 session->outChannelCount = kPreProcDefaultCnl; in Session_CreateEffect()
802 session->procFrame->_frequencyInHz = kPreprocDefaultSr; in Session_CreateEffect()
803 session->procFrame->_audioChannel = kPreProcDefaultCnl; in Session_CreateEffect()
804 session->revChannelCount = kPreProcDefaultCnl; in Session_CreateEffect()
805 session->revFrame->_frequencyInHz = kPreprocDefaultSr; in Session_CreateEffect()
806 session->revFrame->_audioChannel = kPreProcDefaultCnl; in Session_CreateEffect()
807 session->enabledMsk = 0; in Session_CreateEffect()
808 session->processedMsk = 0; in Session_CreateEffect()
809 session->revEnabledMsk = 0; in Session_CreateEffect()
810 session->revProcessedMsk = 0; in Session_CreateEffect()
811 session->inResampler = NULL; in Session_CreateEffect()
812 session->inBuf = NULL; in Session_CreateEffect()
813 session->inBufSize = 0; in Session_CreateEffect()
814 session->outResampler = NULL; in Session_CreateEffect()
815 session->outBuf = NULL; in Session_CreateEffect()
816 session->outBufSize = 0; in Session_CreateEffect()
817 session->revResampler = NULL; in Session_CreateEffect()
818 session->revBuf = NULL; in Session_CreateEffect()
819 session->revBufSize = 0; in Session_CreateEffect()
821 status = Effect_Create(&session->effects[procId], session, interface); in Session_CreateEffect()
826 session->createdMsk |= (1<<procId); in Session_CreateEffect()
830 if (session->createdMsk == 0) { in Session_CreateEffect()
831 delete session->revFrame; in Session_CreateEffect()
832 session->revFrame = NULL; in Session_CreateEffect()
833 delete session->procFrame; in Session_CreateEffect()
834 session->procFrame = NULL; in Session_CreateEffect()
835 webrtc::AudioProcessing::Destroy(session->apm); in Session_CreateEffect()
836 session->apm = NULL; in Session_CreateEffect()
841 int Session_ReleaseEffect(preproc_session_t *session, in Session_ReleaseEffect() argument
845 session->createdMsk &= ~(1<<fx->procId); in Session_ReleaseEffect()
846 if (session->createdMsk == 0) { in Session_ReleaseEffect()
847 webrtc::AudioProcessing::Destroy(session->apm); in Session_ReleaseEffect()
848 session->apm = NULL; in Session_ReleaseEffect()
849 delete session->procFrame; in Session_ReleaseEffect()
850 session->procFrame = NULL; in Session_ReleaseEffect()
851 delete session->revFrame; in Session_ReleaseEffect()
852 session->revFrame = NULL; in Session_ReleaseEffect()
853 if (session->inResampler != NULL) { in Session_ReleaseEffect()
854 speex_resampler_destroy(session->inResampler); in Session_ReleaseEffect()
855 session->inResampler = NULL; in Session_ReleaseEffect()
857 if (session->outResampler != NULL) { in Session_ReleaseEffect()
858 speex_resampler_destroy(session->outResampler); in Session_ReleaseEffect()
859 session->outResampler = NULL; in Session_ReleaseEffect()
861 if (session->revResampler != NULL) { in Session_ReleaseEffect()
862 speex_resampler_destroy(session->revResampler); in Session_ReleaseEffect()
863 session->revResampler = NULL; in Session_ReleaseEffect()
865 delete session->inBuf; in Session_ReleaseEffect()
866 session->inBuf = NULL; in Session_ReleaseEffect()
867 delete session->outBuf; in Session_ReleaseEffect()
868 session->outBuf = NULL; in Session_ReleaseEffect()
869 delete session->revBuf; in Session_ReleaseEffect()
870 session->revBuf = NULL; in Session_ReleaseEffect()
872 session->io = 0; in Session_ReleaseEffect()
879 int Session_SetConfig(preproc_session_t *session, effect_config_t *config) in Session_SetConfig() argument
896 if (session->enabledMsk) { in Session_SetConfig()
897 if (session->samplingRate != config->inputCfg.samplingRate || in Session_SetConfig()
898 session->inChannelCount != inCnl || in Session_SetConfig()
899 session->outChannelCount != outCnl) { in Session_SetConfig()
907 if (config->inputCfg.samplingRate >= 32000 && !(session->createdMsk & (1 << PREPROC_AEC))) { in Session_SetConfig()
908 session->apmSamplingRate = 32000; in Session_SetConfig()
911 session->apmSamplingRate = 16000; in Session_SetConfig()
913 session->apmSamplingRate = 8000; in Session_SetConfig()
915 status = session->apm->set_sample_rate_hz(session->apmSamplingRate); in Session_SetConfig()
919 status = session->apm->set_num_channels(inCnl, outCnl); in Session_SetConfig()
923 status = session->apm->set_num_reverse_channels(inCnl); in Session_SetConfig()
928 session->samplingRate = config->inputCfg.samplingRate; in Session_SetConfig()
929 session->apmFrameCount = session->apmSamplingRate / 100; in Session_SetConfig()
930 if (session->samplingRate == session->apmSamplingRate) { in Session_SetConfig()
931 session->frameCount = session->apmFrameCount; in Session_SetConfig()
933 session->frameCount = (session->apmFrameCount * session->samplingRate) / in Session_SetConfig()
934 session->apmSamplingRate + 1; in Session_SetConfig()
936 session->inChannelCount = inCnl; in Session_SetConfig()
937 session->outChannelCount = outCnl; in Session_SetConfig()
938 session->procFrame->_audioChannel = inCnl; in Session_SetConfig()
939 session->procFrame->_frequencyInHz = session->apmSamplingRate; in Session_SetConfig()
941 session->revChannelCount = inCnl; in Session_SetConfig()
942 session->revFrame->_audioChannel = inCnl; in Session_SetConfig()
943 session->revFrame->_frequencyInHz = session->apmSamplingRate; in Session_SetConfig()
946 session->inBufSize = 0; in Session_SetConfig()
947 session->outBufSize = 0; in Session_SetConfig()
948 session->framesIn = 0; in Session_SetConfig()
949 session->framesOut = 0; in Session_SetConfig()
952 if (session->inResampler != NULL) { in Session_SetConfig()
953 speex_resampler_destroy(session->inResampler); in Session_SetConfig()
954 session->inResampler = NULL; in Session_SetConfig()
956 if (session->outResampler != NULL) { in Session_SetConfig()
957 speex_resampler_destroy(session->outResampler); in Session_SetConfig()
958 session->outResampler = NULL; in Session_SetConfig()
960 if (session->revResampler != NULL) { in Session_SetConfig()
961 speex_resampler_destroy(session->revResampler); in Session_SetConfig()
962 session->revResampler = NULL; in Session_SetConfig()
964 if (session->samplingRate != session->apmSamplingRate) { in Session_SetConfig()
966 session->inResampler = speex_resampler_init(session->inChannelCount, in Session_SetConfig()
967 session->samplingRate, in Session_SetConfig()
968 session->apmSamplingRate, in Session_SetConfig()
971 if (session->inResampler == NULL) { in Session_SetConfig()
976 session->outResampler = speex_resampler_init(session->outChannelCount, in Session_SetConfig()
977 session->apmSamplingRate, in Session_SetConfig()
978 session->samplingRate, in Session_SetConfig()
981 if (session->outResampler == NULL) { in Session_SetConfig()
984 speex_resampler_destroy(session->inResampler); in Session_SetConfig()
985 session->inResampler = NULL; in Session_SetConfig()
988 session->revResampler = speex_resampler_init(session->inChannelCount, in Session_SetConfig()
989 session->samplingRate, in Session_SetConfig()
990 session->apmSamplingRate, in Session_SetConfig()
993 if (session->revResampler == NULL) { in Session_SetConfig()
996 speex_resampler_destroy(session->inResampler); in Session_SetConfig()
997 session->inResampler = NULL; in Session_SetConfig()
998 speex_resampler_destroy(session->outResampler); in Session_SetConfig()
999 session->outResampler = NULL; in Session_SetConfig()
1004 session->state = PREPROC_SESSION_STATE_CONFIG; in Session_SetConfig()
1008 void Session_GetConfig(preproc_session_t *session, effect_config_t *config) in Session_GetConfig() argument
1011 config->inputCfg.samplingRate = config->outputCfg.samplingRate = session->samplingRate; in Session_GetConfig()
1013 config->inputCfg.channels = audio_channel_in_mask_from_count(session->inChannelCount); in Session_GetConfig()
1015 config->outputCfg.channels = audio_channel_in_mask_from_count(session->outChannelCount); in Session_GetConfig()
1020 int Session_SetReverseConfig(preproc_session_t *session, effect_config_t *config) in Session_SetReverseConfig() argument
1031 if (session->state < PREPROC_SESSION_STATE_CONFIG) { in Session_SetReverseConfig()
1034 if (config->inputCfg.samplingRate != session->samplingRate || in Session_SetReverseConfig()
1039 int status = session->apm->set_num_reverse_channels(inCnl); in Session_SetReverseConfig()
1043 session->revChannelCount = inCnl; in Session_SetReverseConfig()
1044 session->revFrame->_audioChannel = inCnl; in Session_SetReverseConfig()
1045 session->revFrame->_frequencyInHz = session->apmSamplingRate; in Session_SetReverseConfig()
1047 session->revBufSize = 0; in Session_SetReverseConfig()
1048 session->framesRev = 0; in Session_SetReverseConfig()
1053 void Session_GetReverseConfig(preproc_session_t *session, effect_config_t *config) in Session_GetReverseConfig() argument
1056 config->inputCfg.samplingRate = config->outputCfg.samplingRate = session->samplingRate; in Session_GetReverseConfig()
1059 audio_channel_in_mask_from_count(session->revChannelCount); in Session_GetReverseConfig()
1064 void Session_SetProcEnabled(preproc_session_t *session, uint32_t procId, bool enabled) in Session_SetProcEnabled() argument
1067 if(session->enabledMsk == 0) { in Session_SetProcEnabled()
1068 session->framesIn = 0; in Session_SetProcEnabled()
1069 if (session->inResampler != NULL) { in Session_SetProcEnabled()
1070 speex_resampler_reset_mem(session->inResampler); in Session_SetProcEnabled()
1072 session->framesOut = 0; in Session_SetProcEnabled()
1073 if (session->outResampler != NULL) { in Session_SetProcEnabled()
1074 speex_resampler_reset_mem(session->outResampler); in Session_SetProcEnabled()
1077 session->enabledMsk |= (1 << procId); in Session_SetProcEnabled()
1079 session->framesRev = 0; in Session_SetProcEnabled()
1080 if (session->revResampler != NULL) { in Session_SetProcEnabled()
1081 speex_resampler_reset_mem(session->revResampler); in Session_SetProcEnabled()
1083 session->revEnabledMsk |= (1 << procId); in Session_SetProcEnabled()
1086 session->enabledMsk &= ~(1 << procId); in Session_SetProcEnabled()
1088 session->revEnabledMsk &= ~(1 << procId); in Session_SetProcEnabled()
1092 procId, enabled, session->enabledMsk, session->revEnabledMsk); in Session_SetProcEnabled()
1093 session->processedMsk = 0; in Session_SetProcEnabled()
1095 session->revProcessedMsk = 0; in Session_SetProcEnabled()
1172 preproc_session_t * session = (preproc_session_t *)effect->session; in PreProcessingFx_Process() local
1180 session->processedMsk |= (1<<effect->procId); in PreProcessingFx_Process()
1185 if ((session->processedMsk & session->enabledMsk) == session->enabledMsk) { in PreProcessingFx_Process()
1186 effect->session->processedMsk = 0; in PreProcessingFx_Process()
1189 if (session->framesOut) { in PreProcessingFx_Process()
1190 size_t fr = session->framesOut; in PreProcessingFx_Process()
1195 session->outBuf, in PreProcessingFx_Process()
1196 fr * session->outChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
1197 memcpy(session->outBuf, in PreProcessingFx_Process()
1198 session->outBuf + fr * session->outChannelCount, in PreProcessingFx_Process()
1199 (session->framesOut - fr) * session->outChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
1200 session->framesOut -= fr; in PreProcessingFx_Process()
1209 if (session->inResampler != NULL) { in PreProcessingFx_Process()
1210 size_t fr = session->frameCount - session->framesIn; in PreProcessingFx_Process()
1214 if (session->inBufSize < session->framesIn + fr) { in PreProcessingFx_Process()
1215 session->inBufSize = session->framesIn + fr; in PreProcessingFx_Process()
1216 session->inBuf = (int16_t *)realloc(session->inBuf, in PreProcessingFx_Process()
1217 session->inBufSize * session->inChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
1219 memcpy(session->inBuf + session->framesIn * session->inChannelCount, in PreProcessingFx_Process()
1221 fr * session->inChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
1226 fr * session->inChannelCount * sizeof(int16_t), 1, gPcmDumpFh); in PreProcessingFx_Process()
1231 session->framesIn += fr; in PreProcessingFx_Process()
1233 if (session->framesIn < session->frameCount) { in PreProcessingFx_Process()
1236 size_t frIn = session->framesIn; in PreProcessingFx_Process()
1237 size_t frOut = session->apmFrameCount; in PreProcessingFx_Process()
1238 if (session->inChannelCount == 1) { in PreProcessingFx_Process()
1239 speex_resampler_process_int(session->inResampler, in PreProcessingFx_Process()
1241 session->inBuf, in PreProcessingFx_Process()
1243 session->procFrame->_payloadData, in PreProcessingFx_Process()
1246 speex_resampler_process_interleaved_int(session->inResampler, in PreProcessingFx_Process()
1247 session->inBuf, in PreProcessingFx_Process()
1249 session->procFrame->_payloadData, in PreProcessingFx_Process()
1252 memcpy(session->inBuf, in PreProcessingFx_Process()
1253 session->inBuf + frIn * session->inChannelCount, in PreProcessingFx_Process()
1254 (session->framesIn - frIn) * session->inChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
1255 session->framesIn -= frIn; in PreProcessingFx_Process()
1257 size_t fr = session->frameCount - session->framesIn; in PreProcessingFx_Process()
1261 memcpy(session->procFrame->_payloadData + session->framesIn * session->inChannelCount, in PreProcessingFx_Process()
1263 fr * session->inChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
1269 fr * session->inChannelCount * sizeof(int16_t), 1, gPcmDumpFh); in PreProcessingFx_Process()
1274 session->framesIn += fr; in PreProcessingFx_Process()
1276 if (session->framesIn < session->frameCount) { in PreProcessingFx_Process()
1279 session->framesIn = 0; in PreProcessingFx_Process()
1281 session->procFrame->_payloadDataLengthInSamples = in PreProcessingFx_Process()
1282 session->apmFrameCount * session->inChannelCount; in PreProcessingFx_Process()
1284 effect->session->apm->ProcessStream(session->procFrame); in PreProcessingFx_Process()
1286 if (session->outBufSize < session->framesOut + session->frameCount) { in PreProcessingFx_Process()
1287 session->outBufSize = session->framesOut + session->frameCount; in PreProcessingFx_Process()
1288 session->outBuf = (int16_t *)realloc(session->outBuf, in PreProcessingFx_Process()
1289 session->outBufSize * session->outChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
1292 if (session->outResampler != NULL) { in PreProcessingFx_Process()
1293 size_t frIn = session->apmFrameCount; in PreProcessingFx_Process()
1294 size_t frOut = session->frameCount; in PreProcessingFx_Process()
1295 if (session->inChannelCount == 1) { in PreProcessingFx_Process()
1296 speex_resampler_process_int(session->outResampler, in PreProcessingFx_Process()
1298 session->procFrame->_payloadData, in PreProcessingFx_Process()
1300 session->outBuf + session->framesOut * session->outChannelCount, in PreProcessingFx_Process()
1303 speex_resampler_process_interleaved_int(session->outResampler, in PreProcessingFx_Process()
1304 session->procFrame->_payloadData, in PreProcessingFx_Process()
1306 session->outBuf + session->framesOut * session->outChannelCount, in PreProcessingFx_Process()
1309 session->framesOut += frOut; in PreProcessingFx_Process()
1311 memcpy(session->outBuf + session->framesOut * session->outChannelCount, in PreProcessingFx_Process()
1312 session->procFrame->_payloadData, in PreProcessingFx_Process()
1313 session->frameCount * session->outChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
1314 session->framesOut += session->frameCount; in PreProcessingFx_Process()
1316 size_t fr = session->framesOut; in PreProcessingFx_Process()
1320 memcpy(outBuffer->s16 + framesWr * session->outChannelCount, in PreProcessingFx_Process()
1321 session->outBuf, in PreProcessingFx_Process()
1322 fr * session->outChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
1323 memcpy(session->outBuf, in PreProcessingFx_Process()
1324 session->outBuf + fr * session->outChannelCount, in PreProcessingFx_Process()
1325 (session->framesOut - fr) * session->outChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
1326 session->framesOut -= fr; in PreProcessingFx_Process()
1375 uint32_t enabledMsk = effect->session->enabledMsk; in PreProcessingFx_Command()
1377 effect->session->enabledMsk = 0; in PreProcessingFx_Command()
1380 *(int *)pReplyData = Session_SetConfig(effect->session, (effect_config_t *)pCmdData); in PreProcessingFx_Command()
1383 effect->session->enabledMsk = enabledMsk; in PreProcessingFx_Command()
1402 Session_GetConfig(effect->session, (effect_config_t *)pReplyData); in PreProcessingFx_Command()
1414 *(int *)pReplyData = Session_SetReverseConfig(effect->session, in PreProcessingFx_Command()
1428 Session_GetReverseConfig(effect->session, (effect_config_t *)pCmdData); in PreProcessingFx_Command()
1534 effect->cur_channel_config = (effect->session->inChannelCount == 1) ? in PreProcessingFx_Command()
1723 preproc_session_t * session = (preproc_session_t *)effect->session; in PreProcessingFx_ProcessReverse() local
1730 session->revProcessedMsk |= (1<<effect->procId); in PreProcessingFx_ProcessReverse()
1736 if ((session->revProcessedMsk & session->revEnabledMsk) == session->revEnabledMsk) { in PreProcessingFx_ProcessReverse()
1737 effect->session->revProcessedMsk = 0; in PreProcessingFx_ProcessReverse()
1738 if (session->revResampler != NULL) { in PreProcessingFx_ProcessReverse()
1739 size_t fr = session->frameCount - session->framesRev; in PreProcessingFx_ProcessReverse()
1743 if (session->revBufSize < session->framesRev + fr) { in PreProcessingFx_ProcessReverse()
1744 session->revBufSize = session->framesRev + fr; in PreProcessingFx_ProcessReverse()
1745 session->revBuf = (int16_t *)realloc(session->revBuf, in PreProcessingFx_ProcessReverse()
1746 session->revBufSize * session->inChannelCount * sizeof(int16_t)); in PreProcessingFx_ProcessReverse()
1748 memcpy(session->revBuf + session->framesRev * session->inChannelCount, in PreProcessingFx_ProcessReverse()
1750 fr * session->inChannelCount * sizeof(int16_t)); in PreProcessingFx_ProcessReverse()
1752 session->framesRev += fr; in PreProcessingFx_ProcessReverse()
1754 if (session->framesRev < session->frameCount) { in PreProcessingFx_ProcessReverse()
1757 size_t frIn = session->framesRev; in PreProcessingFx_ProcessReverse()
1758 size_t frOut = session->apmFrameCount; in PreProcessingFx_ProcessReverse()
1759 if (session->inChannelCount == 1) { in PreProcessingFx_ProcessReverse()
1760 speex_resampler_process_int(session->revResampler, in PreProcessingFx_ProcessReverse()
1762 session->revBuf, in PreProcessingFx_ProcessReverse()
1764 session->revFrame->_payloadData, in PreProcessingFx_ProcessReverse()
1767 speex_resampler_process_interleaved_int(session->revResampler, in PreProcessingFx_ProcessReverse()
1768 session->revBuf, in PreProcessingFx_ProcessReverse()
1770 session->revFrame->_payloadData, in PreProcessingFx_ProcessReverse()
1773 memcpy(session->revBuf, in PreProcessingFx_ProcessReverse()
1774 session->revBuf + frIn * session->inChannelCount, in PreProcessingFx_ProcessReverse()
1775 (session->framesRev - frIn) * session->inChannelCount * sizeof(int16_t)); in PreProcessingFx_ProcessReverse()
1776 session->framesRev -= frIn; in PreProcessingFx_ProcessReverse()
1778 size_t fr = session->frameCount - session->framesRev; in PreProcessingFx_ProcessReverse()
1782 memcpy(session->revFrame->_payloadData + session->framesRev * session->inChannelCount, in PreProcessingFx_ProcessReverse()
1784 fr * session->inChannelCount * sizeof(int16_t)); in PreProcessingFx_ProcessReverse()
1785 session->framesRev += fr; in PreProcessingFx_ProcessReverse()
1787 if (session->framesRev < session->frameCount) { in PreProcessingFx_ProcessReverse()
1790 session->framesRev = 0; in PreProcessingFx_ProcessReverse()
1792 session->revFrame->_payloadDataLengthInSamples = in PreProcessingFx_ProcessReverse()
1793 session->apmFrameCount * session->inChannelCount; in PreProcessingFx_ProcessReverse()
1794 effect->session->apm->AnalyzeReverseStream(session->revFrame); in PreProcessingFx_ProcessReverse()
1854 preproc_session_t *session; in PreProcessingLib_Create() local
1867 session = PreProc_GetSession(procId, sessionId, ioId); in PreProcessingLib_Create()
1868 if (session == NULL) { in PreProcessingLib_Create()
1873 status = Session_CreateEffect(session, procId, pInterface); in PreProcessingLib_Create()
1875 if (status < 0 && session->createdMsk == 0) { in PreProcessingLib_Create()
1876 session->io = 0; in PreProcessingLib_Create()
1891 if (fx->session->io == 0) { in PreProcessingLib_Release()
1894 return Session_ReleaseEffect(fx->session, fx); in PreProcessingLib_Release()