• Home
  • Raw
  • Download

Lines Matching refs:id

60     uint32_t id;                // type of pre processor (enum effect_id)  member
71 int id; // audio session ID member
140 static const effect_uuid_t * id_to_uuid(int id) in id_to_uuid() argument
142 if (id >= NUM_ID) in id_to_uuid()
145 return uuid_to_id_table[id]; in id_to_uuid()
162 static void session_set_fx_enabled(struct session_s *session, uint32_t id, bool enabled);
170 ALOGV("effect_set_state() id %d, new %d old %d", effect->id, state, effect->state); in effect_set_state()
175 session_set_fx_enabled(effect->session, effect->id, false); in effect_set_state()
205 session_set_fx_enabled(effect->session, effect->id, false); in effect_set_state()
225 session_set_fx_enabled(effect->session, effect->id, true); in effect_set_state()
241 static int effect_init(struct effect_s *effect, uint32_t id) in effect_init() argument
244 effect->id = id; in effect_init()
274 session->id = 0; in session_init()
285 int32_t id, in session_create_effect() argument
291 id == AEC_ID ? "AEC" : id == NS_ID ? "NS" : "?", session->created_msk); in session_create_effect()
303 status = effect_create(&session->effects[id], session, interface); in session_create_effect()
308 session->created_msk |= (1<<id); in session_create_effect()
318 ALOGW_IF(effect_release(fx) != 0, " session_release_effect() failed for id %d", fx->id); in session_release_effect()
320 session->created_msk &= ~(1<<fx->id); in session_release_effect()
369 static void session_set_fx_enabled(struct session_s *session, uint32_t id, bool enabled) in session_set_fx_enabled() argument
375 session->enabled_msk |= (1 << id); in session_set_fx_enabled()
377 session->enabled_msk &= ~(1 << id); in session_set_fx_enabled()
383 id, enabled, session->enabled_msk); in session_set_fx_enabled()
391 static struct session_s *get_session(int32_t id, int32_t sessionId, int32_t ioId) in get_session() argument
401 if (session->created_msk & (1 << id)) { in get_session()
402 ALOGV("get_session() effect %d already created", id); in get_session()
412 session->id = sessionId; in get_session()
497 session->processed_msk |= (1<<effect->id); in fx_process()
645 *pDescriptor = *descriptors[effect->id]; in fx_get_descriptor()
673 uint32_t id; in lib_create() local
684 id = uuid_to_id(&desc->type); in lib_create()
686 session = get_session(id, sessionId, ioId); in lib_create()
693 status = session_create_effect(session, id, pInterface); in lib_create()