Home
last modified time | relevance | path

Searched refs:audio_route (Results 1 – 16 of 16) sorted by relevance

/aosp12/system/media/audio_route/include/audio_route/
H A Daudio_route.h25 struct audio_route *audio_route_init(unsigned int card, const char *xml_path);
26 void audio_route_free(struct audio_route *ar);
29 int audio_route_apply_path(struct audio_route *ar, const char *name);
32 int audio_route_apply_and_update_path(struct audio_route *ar, const char *name);
35 int audio_route_reset_path(struct audio_route *ar, const char *name);
38 int audio_route_reset_and_update_path(struct audio_route *ar, const char *name);
41 int audio_route_force_reset_and_update_path(struct audio_route *ar, const char *name);
44 void audio_route_reset(struct audio_route *ar);
47 int audio_route_update_mixer(struct audio_route *ar);
/aosp12/hardware/knowles/athletico/sound_trigger_hal/
H A Dcvq_ioctl.h239 int enable_mic_route(struct audio_route *route_hdl, bool enable,
241 int enable_amp_ref_route(struct audio_route *route_hdl, bool enable,
244 int set_sensor_route(struct audio_route *route_hdl, bool enable);
247 int set_ambient_route(struct audio_route *route_hdl, bool bargein);
248 int tear_ambient_route(struct audio_route *route_hdl, bool bargein);
251 int set_hotword_route(struct audio_route *route_hdl, bool bargein);
252 int tear_hotword_route(struct audio_route *route_hdl, bool bargein);
253 int set_chre_audio_route(struct audio_route *route_hdl, bool bargein);
254 int tear_chre_audio_route(struct audio_route *route_hdl, bool bargein);
256 int enable_bargein_route(struct audio_route *route_hdl, bool enable);
[all …]
H A Dcvq_util.c163 int set_sensor_route(struct audio_route *route_hdl, bool enable) in set_sensor_route()
270 int set_ambient_route(struct audio_route *route_hdl, bool bargein) in set_ambient_route()
289 int tear_ambient_route(struct audio_route *route_hdl, bool bargein) in tear_ambient_route()
403 int set_hotword_route(struct audio_route *route_hdl, bool bargein) in set_hotword_route()
422 int tear_hotword_route(struct audio_route *route_hdl, bool bargein) in tear_hotword_route()
441 int set_chre_audio_route(struct audio_route *route_hdl, bool bargein) in set_chre_audio_route()
459 int tear_chre_audio_route(struct audio_route *route_hdl, bool bargein) in tear_chre_audio_route()
1673 int enable_bargein_route(struct audio_route *route_hdl, bool enable) in enable_bargein_route()
1689 int enable_amp_ref_route(struct audio_route *route_hdl, bool enable, in enable_amp_ref_route()
1782 int enable_mic_route(struct audio_route *route_hdl, bool enable, in enable_mic_route()
[all …]
H A Dsound_trigger_hw_iaxxx.c198 struct audio_route *route_hdl;
/aosp12/system/media/audio_route/
H A Daudio_route.c84 struct audio_route { struct
95 struct audio_route *ar; argument
165 static void path_free(struct audio_route *ar) in path_free()
475 struct audio_route *ar = state->ar; in start_tag()
648 static int alloc_mixer_state(struct audio_route *ar) in alloc_mixer_state()
691 static void free_mixer_state(struct audio_route *ar) in free_mixer_state()
711 int audio_route_update_mixer(struct audio_route *ar) in audio_route_update_mixer()
786 void audio_route_reset(struct audio_route *ar) in audio_route_reset()
971 struct audio_route *ar; in audio_route_init()
973 ar = calloc(1, sizeof(struct audio_route)); in audio_route_init()
[all …]
H A DAndroid.bp12 srcs: ["audio_route.c"],
/aosp12/hardware/qcom/audio/hal/
H A Daudio_hw.h377 struct audio_route *audio_route; member
H A Daudio_hw.c706 audio_route_apply_and_update_path(adev->audio_route, mixer_path); in enable_audio_route()
734 audio_route_reset_and_update_path(adev->audio_route, mixer_path); in disable_audio_route()
815 audio_route_apply_and_update_path(adev->audio_route, device_name); in enable_snd_device()
878 audio_route_reset_and_update_path(adev->audio_route, device_name); in disable_snd_device()
6422 audio_route_free(adev->audio_route); in adev_close()
/aosp12/hardware/qcom/audio/hal/msm8960/
H A Dplatform.c303 adev->audio_route = audio_route_init(MIXER_CARD, MIXER_XML_PATH); in platform_init()
304 if (!adev->audio_route) { in platform_init()
1253 audio_route_apply_and_update_path(adev->audio_route, mixer_path); in platform_set_swap_mixer()
1256 audio_route_apply_and_update_path(adev->audio_route, mixer_path); in platform_set_swap_mixer()
1433 audio_route_apply_and_update_path(adev->audio_route, str); in platform_set_sidetone()
1435 audio_route_reset_and_update_path(adev->audio_route, str); in platform_set_sidetone()
/aosp12/build/make/core/
H A Dpathmap.mk47 audio-route:system/media/audio_route/include \
/aosp12/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
H A DAudioSelectMenu.java46 View view = View.inflate(context, R.layout.audio_route, null); in AudioSelectMenu()
/aosp12/hardware/qcom/audio/hal/audio_extn/
H A Dtfa_98xx.c139 ret = audio_route_apply_and_update_path(adev->audio_route, paths); in adev_i2s_clock_operation()
145 ret = audio_route_reset_and_update_path(adev->audio_route, paths); in adev_i2s_clock_operation()
H A Dcirrus_playback.c819 audio_route_apply_and_update_path(adev->audio_route, in audio_extn_spkr_prot_start_processing()
912 audio_route_reset_path(adev->audio_route, in audio_extn_spkr_prot_stop_processing()
H A Dspkr_protection.c823 audio_route_apply_and_update_path(adev->audio_route, in audio_extn_spkr_prot_start_processing()
913 audio_route_reset_and_update_path(adev->audio_route, in audio_extn_spkr_prot_stop_processing()
/aosp12/hardware/qcom/audio/hal/msm8916/
H A Dplatform.c720 audio_route_reset_and_update_path(adev->audio_route, in platform_set_echo_reference()
734 audio_route_apply_and_update_path(adev->audio_route, in platform_set_echo_reference()
1106 adev->audio_route = audio_route_init(snd_card_num, in platform_init()
1108 if (!adev->audio_route) { in platform_init()
2789 audio_route_apply_and_update_path(adev->audio_route, mixer_path);
2792 audio_route_apply_and_update_path(adev->audio_route, mixer_path);
2922 audio_route_apply_and_update_path(adev->audio_route, str);
2924 audio_route_reset_and_update_path(adev->audio_route, str);
/aosp12/hardware/qcom/audio/hal/msm8974/
H A Dplatform.c1137 audio_route_reset_and_update_path(adev->audio_route, my_data->ec_ref_mixer_path); in platform_set_echo_reference()
1148 audio_route_apply_and_update_path(adev->audio_route, my_data->ec_ref_mixer_path); in platform_set_echo_reference()
1798 adev->audio_route = audio_route_init(snd_card_num, mixer_xml_file); in platform_init()
1800 if (!adev->audio_route) { in platform_init()
2676 audio_route_apply_and_update_path(adev->audio_route, name); in platform_set_speaker_gain_in_combo()
4070 audio_route_apply_and_update_path(adev->audio_route, mixer_path); in platform_set_swap_mixer()
4073 audio_route_apply_and_update_path(adev->audio_route, mixer_path); in platform_set_swap_mixer()
4974 audio_route_apply_and_update_path(adev->audio_route, str); in platform_set_sidetone()
4976 audio_route_reset_and_update_path(adev->audio_route, str); in platform_set_sidetone()