/hardware/qcom/audio/hal/ |
D | voice.h | 38 struct audio_device; 73 int voice_start_usecase(struct audio_device *adev, audio_usecase_t usecase_id); 74 int voice_stop_usecase(struct audio_device *adev, audio_usecase_t usecase_id); 76 int voice_start_call(struct audio_device *adev); 77 int voice_stop_call(struct audio_device *adev); 78 int voice_set_parameters(struct audio_device *adev, struct str_parms *parms); 79 void voice_get_parameters(struct audio_device *adev, struct str_parms *query, 81 void voice_init(struct audio_device *adev); 82 bool voice_is_in_call(struct audio_device *adev); 84 int voice_set_mic_mute(struct audio_device *dev, bool state); [all …]
|
D | audio_hw.h | 181 struct audio_device *dev; 205 struct audio_device *dev; 239 struct audio_device { struct 295 int select_devices(struct audio_device *adev, argument 298 int disable_audio_route(struct audio_device *adev, 301 int disable_snd_device(struct audio_device *adev, 304 int enable_snd_device(struct audio_device *adev, 307 int enable_audio_route(struct audio_device *adev, 310 struct audio_usecase *get_usecase_from_list(struct audio_device *adev,
|
D | voice.c | 41 static struct voice_session *voice_get_session_from_use_case(struct audio_device *adev, in voice_get_session_from_use_case() 78 void voice_set_sidetone(struct audio_device *adev, in voice_set_sidetone() 107 int voice_stop_usecase(struct audio_device *adev, audio_usecase_t usecase_id) in voice_stop_usecase() 156 int voice_start_usecase(struct audio_device *adev, audio_usecase_t usecase_id) in voice_start_usecase() 237 bool voice_is_call_state_active(struct audio_device *adev) in voice_is_call_state_active() 250 bool voice_is_in_call(struct audio_device *adev) in voice_is_in_call() 268 uint32_t voice_get_active_session_id(struct audio_device *adev) in voice_get_active_session_id() 280 int voice_check_and_set_incall_rec_usecase(struct audio_device *adev, in voice_check_and_set_incall_rec_usecase() 319 int voice_check_and_stop_incall_rec_usecase(struct audio_device *adev, in voice_check_and_stop_incall_rec_usecase() 334 int voice_check_and_set_incall_music_usecase(struct audio_device *adev, in voice_check_and_set_incall_music_usecase() [all …]
|
D | platform_api.h | 20 void *platform_init(struct audio_device *adev); 46 void platform_set_speaker_gain_in_combo(struct audio_device *adev, 78 void platform_set_echo_reference(struct audio_device *adev, bool enable, audio_devices_t out_device… 79 int platform_swap_lr_channels(struct audio_device *adev, bool swap_channels); 89 bool platform_check_and_set_capture_backend_cfg(struct audio_device* adev,
|
D | audio_hw.c | 201 static int set_voice_volume_l(struct audio_device *adev, float volume); 202 static struct audio_device *adev = NULL; 259 int enable_audio_route(struct audio_device *adev, in enable_audio_route() 284 int disable_audio_route(struct audio_device *adev, in disable_audio_route() 307 int enable_snd_device(struct audio_device *adev, in enable_snd_device() 369 int disable_snd_device(struct audio_device *adev, in disable_snd_device() 413 static void check_and_route_playback_usecases(struct audio_device *adev, in check_and_route_playback_usecases() 481 static void check_and_route_capture_usecases(struct audio_device *adev, in check_and_route_capture_usecases() 576 static audio_usecase_t get_voice_usecase_id_from_list(struct audio_device *adev) in get_voice_usecase_id_from_list() 591 struct audio_usecase *get_usecase_from_list(struct audio_device *adev, in get_usecase_from_list() [all …]
|
/hardware/qcom/audio/hal/voice_extn/ |
D | voice_extn.h | 21 int voice_extn_start_call(struct audio_device *adev); 22 int voice_extn_stop_call(struct audio_device *adev); 23 int voice_extn_get_session_from_use_case(struct audio_device *adev, 26 void voice_extn_init(struct audio_device *adev); 27 int voice_extn_set_parameters(struct audio_device *adev, 29 void voice_extn_get_parameters(const struct audio_device *adev, 33 int voice_extn_get_active_session_id(struct audio_device *adev, 35 int voice_extn_is_call_state_active(struct audio_device *adev, 38 static int voice_extn_start_call(struct audio_device *adev __unused) in voice_extn_start_call() 43 static int voice_extn_stop_call(struct audio_device *adev __unused) in voice_extn_stop_call() [all …]
|
D | voice_extn.c | 75 int voice_extn_is_call_state_active(struct audio_device *adev, bool *is_call_active); 139 static uint32_t get_session_id_with_state(struct audio_device *adev, in get_session_id_with_state() 157 static int update_calls(struct audio_device *adev) in update_calls() 290 static int update_call_states(struct audio_device *adev, in update_call_states() 329 int voice_extn_get_active_session_id(struct audio_device *adev, in voice_extn_get_active_session_id() 336 int voice_extn_is_call_state_active(struct audio_device *adev, bool *is_call_active) in voice_extn_is_call_state_active() 366 void voice_extn_init(struct audio_device *adev) in voice_extn_init() 377 int voice_extn_get_session_from_use_case(struct audio_device *adev, in voice_extn_get_session_from_use_case() 421 int voice_extn_start_call(struct audio_device *adev) in voice_extn_start_call() 430 int voice_extn_stop_call(struct audio_device *adev) in voice_extn_stop_call() [all …]
|
/hardware/qcom/audio/msm8909/hal/ |
D | voice.h | 41 struct audio_device; 75 int voice_start_usecase(struct audio_device *adev, audio_usecase_t usecase_id); 76 int voice_stop_usecase(struct audio_device *adev, audio_usecase_t usecase_id); 78 int voice_start_call(struct audio_device *adev); 79 int voice_stop_call(struct audio_device *adev); 80 int voice_set_parameters(struct audio_device *adev, struct str_parms *parms); 81 void voice_get_parameters(struct audio_device *adev, struct str_parms *query, 83 void voice_init(struct audio_device *adev); 84 bool voice_is_in_call(struct audio_device *adev); 86 int voice_set_mic_mute(struct audio_device *dev, bool state); [all …]
|
D | audio_hw.h | 196 struct audio_device *dev; 216 struct audio_device *dev; 265 struct audio_device { struct 303 int select_devices(struct audio_device *adev, argument 305 int disable_audio_route(struct audio_device *adev, 307 int disable_snd_device(struct audio_device *adev, 309 int enable_snd_device(struct audio_device *adev, 312 int enable_audio_route(struct audio_device *adev, 315 struct audio_usecase *get_usecase_from_list(struct audio_device *adev, 322 int get_snd_card_state(struct audio_device *adev); [all …]
|
D | voice.c | 45 static struct voice_session *voice_get_session_from_use_case(struct audio_device *adev, in voice_get_session_from_use_case() 59 int voice_stop_usecase(struct audio_device *adev, audio_usecase_t usecase_id) in voice_stop_usecase() 110 int voice_start_usecase(struct audio_device *adev, audio_usecase_t usecase_id) in voice_start_usecase() 204 bool voice_is_call_state_active(struct audio_device *adev) in voice_is_call_state_active() 217 bool voice_is_in_call(struct audio_device *adev) in voice_is_in_call() 235 uint32_t voice_get_active_session_id(struct audio_device *adev) in voice_get_active_session_id() 247 int voice_check_and_set_incall_rec_usecase(struct audio_device *adev, in voice_check_and_set_incall_rec_usecase() 298 int voice_check_and_stop_incall_rec_usecase(struct audio_device *adev, in voice_check_and_stop_incall_rec_usecase() 313 int voice_check_and_set_incall_music_usecase(struct audio_device *adev, in voice_check_and_set_incall_music_usecase() 327 int voice_set_mic_mute(struct audio_device *adev, bool state) in voice_set_mic_mute() [all …]
|
D | audio_hw.c | 219 static struct audio_device *adev = NULL; 223 static int set_voice_volume_l(struct audio_device *adev, float volume); 225 static int check_and_set_gapless_mode(struct audio_device *adev) { in check_and_set_gapless_mode() 310 int get_snd_card_state(struct audio_device *adev) in get_snd_card_state() 324 static int set_snd_card_state(struct audio_device *adev, int snd_scard_state) in set_snd_card_state() 336 static int enable_audio_route_for_voice_usecases(struct audio_device *adev, in enable_audio_route_for_voice_usecases() 369 int enable_audio_route(struct audio_device *adev, in enable_audio_route() 402 int disable_audio_route(struct audio_device *adev, in disable_audio_route() 426 int enable_snd_device(struct audio_device *adev, in enable_snd_device() 497 int disable_snd_device(struct audio_device *adev, in disable_snd_device() [all …]
|
/hardware/qcom/audio/msm8909/hal/voice_extn/ |
D | voice_extn.h | 24 int voice_extn_start_call(struct audio_device *adev); 25 int voice_extn_stop_call(struct audio_device *adev); 26 int voice_extn_get_session_from_use_case(struct audio_device *adev, 29 void voice_extn_init(struct audio_device *adev); 30 int voice_extn_set_parameters(struct audio_device *adev, 32 void voice_extn_get_parameters(const struct audio_device *adev, 36 int voice_extn_is_call_state_active(struct audio_device *adev, 38 int voice_extn_get_active_session_id(struct audio_device *adev, 47 static int voice_extn_start_call(struct audio_device *adev __unused) in voice_extn_start_call() 52 static int voice_extn_stop_call(struct audio_device *adev __unused) in voice_extn_stop_call() [all …]
|
D | compress_voip.c | 93 static int voip_set_volume(struct audio_device *adev, int volume); 94 static int voip_set_mic_mute(struct audio_device *adev, bool state); 95 static int voip_set_mode(struct audio_device *adev, int format); 96 static int voip_set_rate(struct audio_device *adev, int rate); 97 static int voip_set_evrc_min_max_rate(struct audio_device *adev, int min_rate, 99 static int voip_set_dtx(struct audio_device *adev, bool enable); 100 static int voip_stop_call(struct audio_device *adev); 101 static int voip_start_call(struct audio_device *adev, 136 static int voip_set_volume(struct audio_device *adev, int volume) in voip_set_volume() 166 static int voip_set_mic_mute(struct audio_device *adev, bool state) in voip_set_mic_mute() [all …]
|
D | voice_extn.c | 75 int voice_extn_is_call_state_active(struct audio_device *adev, bool *is_call_active); 129 static uint32_t get_session_id_with_state(struct audio_device *adev, in get_session_id_with_state() 147 static int update_calls(struct audio_device *adev) in update_calls() 280 static int update_call_states(struct audio_device *adev, in update_call_states() 319 int voice_extn_get_active_session_id(struct audio_device *adev, in voice_extn_get_active_session_id() 326 int voice_extn_is_call_state_active(struct audio_device *adev, bool *is_call_active) in voice_extn_is_call_state_active() 356 void voice_extn_init(struct audio_device *adev) in voice_extn_init() 365 int voice_extn_get_session_from_use_case(struct audio_device *adev, in voice_extn_get_session_from_use_case() 401 int voice_extn_start_call(struct audio_device *adev) in voice_extn_start_call() 410 int voice_extn_stop_call(struct audio_device *adev) in voice_extn_stop_call() [all …]
|
/hardware/qcom/audio/msm8909/hal/audio_extn/ |
D | audio_extn.h | 81 void audio_extn_set_parameters(struct audio_device *adev, 84 void audio_extn_get_parameters(const struct audio_device *adev, 102 void audio_extn_set_fluence_parameters(struct audio_device *adev, 104 int audio_extn_get_fluence_parameters(const struct audio_device *adev, 113 int32_t audio_extn_set_afe_proxy_channel_mixer(struct audio_device *adev, 195 int audio_extn_listen_init(struct audio_device *adev, unsigned int snd_card); 196 void audio_extn_listen_deinit(struct audio_device *adev); 201 void audio_extn_listen_set_parameters(struct audio_device *adev, 223 int audio_extn_sound_trigger_init(struct audio_device *adev); 224 void audio_extn_sound_trigger_deinit(struct audio_device *adev); [all …]
|
D | dev_arbi.c | 150 audio_devices_t audio_device = get_audio_device(snd_device); in audio_extn_dev_arbi_acquire() local 152 if ((acquire_fp != NULL) && (audio_device != AUDIO_DEVICE_NONE)) in audio_extn_dev_arbi_acquire() 153 rc = acquire_fp(audio_device); in audio_extn_dev_arbi_acquire() 161 audio_devices_t audio_device = get_audio_device(snd_device); in audio_extn_dev_arbi_release() local 163 if ((release_fp != NULL) && (audio_device != AUDIO_DEVICE_NONE)) in audio_extn_dev_arbi_release() 164 rc = release_fp(audio_device); in audio_extn_dev_arbi_release()
|
D | dolby.c | 218 struct audio_device *adev = out->dev; in send_ddp_endp_params_stream() 235 void send_ddp_endp_params(struct audio_device *adev, in send_ddp_endp_params() 255 void audio_extn_dolby_send_ddp_endp_params(struct audio_device *adev) in audio_extn_dolby_send_ddp_endp_params() 281 void audio_extn_ddp_set_parameters(struct audio_device *adev, in audio_extn_ddp_set_parameters() 361 int audio_extn_dolby_get_snd_codec_id(struct audio_device *adev, in audio_extn_dolby_get_snd_codec_id() 412 void audio_extn_dolby_set_endpoint(struct audio_device *adev) in audio_extn_dolby_set_endpoint() 448 void audio_extn_dolby_set_dmid(struct audio_device *adev) in audio_extn_dolby_set_dmid() 484 void audio_extn_dolby_set_license(struct audio_device *adev) in audio_extn_dolby_set_license() 570 void audio_extn_dolby_ds2_set_endpoint(struct audio_device *adev) { in audio_extn_dolby_ds2_set_endpoint() 599 int audio_extn_ds2_enable(struct audio_device *adev) { in audio_extn_ds2_enable() [all …]
|
D | hfp.c | 54 static int32_t start_hfp(struct audio_device *adev, 57 static int32_t stop_hfp(struct audio_device *adev); 89 static int32_t hfp_set_volume(struct audio_device *adev, float value) in hfp_set_volume() 129 static int32_t start_hfp(struct audio_device *adev, in start_hfp() 240 static int32_t stop_hfp(struct audio_device *adev) in stop_hfp() 290 bool audio_extn_hfp_is_active(struct audio_device *adev) in audio_extn_hfp_is_active() 306 void audio_extn_hfp_set_parameters(struct audio_device *adev, struct str_parms *parms) in audio_extn_hfp_set_parameters()
|
D | audio_extn.c | 66 void audio_extn_fm_set_parameters(struct audio_device *adev, 72 void audio_extn_hfp_set_parameters(struct audio_device *adev, 80 void audio_extn_source_track_set_parameters(struct audio_device *adev, 82 void audio_extn_source_track_get_parameters(struct audio_device *adev, 90 void audio_extn_customstereo_set_parameters(struct audio_device *adev, in audio_extn_customstereo_set_parameters() 161 void audio_extn_set_anc_parameters(struct audio_device *adev, in audio_extn_set_anc_parameters() 200 void audio_extn_set_fluence_parameters(struct audio_device *adev, in audio_extn_set_fluence_parameters() 229 int audio_extn_get_fluence_parameters(const struct audio_device *adev, in audio_extn_get_fluence_parameters() 278 static int32_t afe_proxy_set_channel_mapping(struct audio_device *adev, in afe_proxy_set_channel_mapping() 329 int32_t audio_extn_set_afe_proxy_channel_mixer(struct audio_device *adev, in audio_extn_set_afe_proxy_channel_mixer() [all …]
|
D | listen.c | 84 struct audio_device *adev; 170 void audio_extn_listen_set_parameters(struct audio_device *adev, in audio_extn_listen_set_parameters() 184 int audio_extn_listen_init(struct audio_device *adev, unsigned int snd_card) in audio_extn_listen_init() 248 void audio_extn_listen_deinit(struct audio_device *adev) in audio_extn_listen_deinit()
|
/hardware/qcom/audio/hal/audio_extn/ |
D | audio_extn.h | 30 void *audio_extn_extspk_init(struct audio_device *adev); 61 bool audio_extn_hfp_is_active(struct audio_device *adev); 65 void audio_extn_hfp_set_parameters(struct audio_device *adev, 88 int audio_extn_sound_trigger_init(struct audio_device *adev); 89 void audio_extn_sound_trigger_deinit(struct audio_device *adev); 92 void audio_extn_sound_trigger_set_parameters(struct audio_device *adev, 103 void audio_extn_dsm_feedback_enable(struct audio_device *adev,
|
D | hfp.c | 35 static int32_t start_hfp(struct audio_device *adev, 38 static int32_t stop_hfp(struct audio_device *adev); 70 static int32_t hfp_set_volume(struct audio_device *adev, float value) in hfp_set_volume() 114 static int32_t start_hfp(struct audio_device *adev, in start_hfp() 207 static int32_t stop_hfp(struct audio_device *adev) in stop_hfp() 264 bool audio_extn_hfp_is_active(struct audio_device *adev) in audio_extn_hfp_is_active() 280 void audio_extn_hfp_set_parameters(struct audio_device *adev, struct str_parms *parms) in audio_extn_hfp_set_parameters()
|
D | dsm_feedback.c | 42 int start_dsm_feedback_processing(struct audio_device *adev, int enable) in start_dsm_feedback_processing() 89 void audio_extn_dsm_feedback_enable(struct audio_device *adev, in audio_extn_dsm_feedback_enable()
|
/hardware/bsp/intel/peripheral/audio/generic/ |
D | audio_hal.c | 75 struct audio_device { struct 101 struct audio_device *dev; /* hardware information - only using this for the lock */ argument 126 struct audio_device *dev; /* hardware information - only using this for the lock */ 592 struct audio_device *adev = (struct audio_device *)dev; in adev_open_output_stream() 1003 in->dev = (struct audio_device *)dev; in adev_open_input_stream() 1116 struct audio_device * adev = (struct audio_device *)dev; in adev_set_master_volume() 1146 struct audio_device * adev = (struct audio_device *)dev; in adev_set_mic_mute() 1165 struct audio_device *adev = (struct audio_device *)device; in adev_close() 1180 struct audio_device *adev = calloc(1, sizeof(struct audio_device)); in adev_open()
|
/hardware/intel/audio_media/hdmi/ |
D | tinyaudio_hw.c | 114 struct audio_device { struct 142 struct audio_device *dev; argument 226 struct audio_device *adev = out->dev; in start_output_stream() 379 struct audio_device *adev = out->dev; in out_set_parameters() 473 struct audio_device *adev = out->dev; in out_read_edid() 496 struct audio_device *adev = out->dev; in out_get_parameters() 684 struct audio_device *adev = (struct audio_device *)dev; in adev_open_output_stream() 916 struct audio_device *adev; in adev_open() 923 adev = calloc(1, sizeof(struct audio_device)); in adev_open()
|