Home | History | Annotate | Download | only in voicefx

Lines Matching refs:handle

93     int ioHandle;                     // handle of input stream this session is on
599 ALOGV("AdncSession_CreateEffect handle=%d procId %d, old createdMsk %08x",
653 /* Returns a session context for the given IO handle
654 * Returns an existing session context if the IO handle matches, initializes a new one otherwise.
729 ALOGV(" session %d handle=%d cre=%2x act=%2x",
1002 // the effect handle comes from the effect framework, ok to cast
1030 ALOGV(" resetting session on handle %d after effect release", fx->session->ioHandle);
1251 ALOGV("Adnc_ApplySettingsFromSessionContextInt_l cre=%2x ac=%2x handle=%d",
1286 * Return a value between 0 and ADNC_PFX_NUM_SESSION-1 if a session context has the given handle,
1287 * -1 if the handle isn't in handled by one of the sessions.
1290 int Adnc_SessionNumberForHandle_l(audio_io_handle_t handle)
1293 if (sAdncSessions[i].ioHandle == handle) {
1302 * Apply the settings of the session matching the given IO handle.
1305 int Adnc_ApplySettingsForHandleInt_l(audio_io_handle_t handle)
1307 ALOGV(" Adnc_ApplySettingsForHandleInt_l(handle=%d)", handle);
1308 // indicates whether this effect bundle currently has a session context for this IO handle
1316 ALOGV(" no effect settings to apply for IO handle %d, no effect bundle", handle);
1320 const int sessionId = Adnc_SessionNumberForHandle_l(handle);
1326 ALOGV(" no session found for handle %d", handle);
1333 * Reevaluate the usage of the eS305 based on the given IO handle.
1336 int Adnc_ReevaluateUsageInt_l(audio_io_handle_t handle)
1338 ALOGV(" Adnc_ReevaluateUsageInt_l(handle=%d) current_preset=%d requested_preset=%d",
1339 handle, eS305_ctrl.current_preset, eS305_ctrl.requested_preset);
1341 if ((eS305_ctrl.requested_preset == ES305_PRESET_OFF) || (handle == ES305_IO_HANDLE_NONE)) {
1344 const int sessionId = Adnc_SessionNumberForHandle_l(handle);
1351 //apply the settings of the session associated with the handle (if any)
1352 status = Adnc_ApplySettingsForHandleInt_l(handle);
1368 ALOGV("eS305_UsePreset(%d) current=%d handle=%d",
1419 int eS305_SetActiveIoHandle(audio_io_handle_t handle)
1421 ALOGV("eS305_SetActiveIoHandle(%d)", handle);
1427 ALOGE(" error setting active handle, bundle failed to initialize");
1432 status = Adnc_ReevaluateUsageInt_l(handle);
1435 eS305_ctrl.ioHandle = handle;
1437 ALOGE(" failed to update for new handle %d (current preset = %d)",
1438 handle, eS305_ctrl.current_preset);
1447 int eS305_AddEffect(effect_descriptor_t * descr, audio_io_handle_t handle)
1449 ALOGV("eS305_AddEffect(handle=%d)", handle);
1469 procId, ES305_SESSION_ID_NONE, handle/*ioId*/);
1485 int eS305_RemoveEffect(effect_descriptor_t * descr, audio_io_handle_t handle)
1507 procId, ES305_SESSION_ID_NONE, handle/*ioId*/);