Home
last modified time | relevance | path

Searched refs:audio_hw_device (Results 1 – 14 of 14) sorted by relevance

/hardware/libhardware/include/hardware/
Daudio.h516 struct audio_hw_device { struct
536 uint32_t (*get_supported_devices)(const struct audio_hw_device *dev); argument
542 int (*init_check)(const struct audio_hw_device *dev); argument
545 int (*set_voice_volume)(struct audio_hw_device *dev, float volume); argument
552 int (*set_master_volume)(struct audio_hw_device *dev, float volume); argument
561 int (*get_master_volume)(struct audio_hw_device *dev, float *volume); argument
568 int (*set_mode)(struct audio_hw_device *dev, audio_mode_t mode); argument
571 int (*set_mic_mute)(struct audio_hw_device *dev, bool state); argument
572 int (*get_mic_mute)(const struct audio_hw_device *dev, bool *state); argument
575 int (*set_parameters)(struct audio_hw_device *dev, const char *kv_pairs); argument
[all …]
/hardware/libhardware/modules/audio/
Daudio_hw.c33 struct audio_hw_device device;
242 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
287 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
294 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
300 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
307 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
313 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
319 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
325 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume()
331 static int adev_set_master_mute(struct audio_hw_device *dev, bool muted) in adev_set_master_mute()
[all …]
/hardware/qcom/audio/legacy/alsa_sound/
Daudio_hw_hal.cpp39 struct audio_hw_device device;
429 static inline struct qcom_audio_device * to_ladev(struct audio_hw_device *dev) in to_ladev()
434 static inline const struct qcom_audio_device * to_cladev(const struct audio_hw_device *dev) in to_cladev()
439 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
446 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
452 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
458 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) { in adev_get_master_volume()
465 static int adev_set_fm_volume(struct audio_hw_device *dev, float volume) in adev_set_fm_volume()
472 static int adev_set_mode(struct audio_hw_device *dev, audio_mode_t mode) in adev_set_mode()
478 static int adev_set_mic_mute(struct audio_hw_device *dev, bool state) in adev_set_mic_mute()
[all …]
/hardware/libhardware_legacy/audio/
Daudio_hw_hal.cpp40 struct audio_hw_device device;
410 static inline struct legacy_audio_device * to_ladev(struct audio_hw_device *dev) in to_ladev()
415 static inline const struct legacy_audio_device * to_cladev(const struct audio_hw_device *dev) in to_cladev()
420 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
427 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
433 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
439 static int adev_get_master_volume(struct audio_hw_device *dev, float* volume) in adev_get_master_volume()
445 static int adev_set_mode(struct audio_hw_device *dev, audio_mode_t mode) in adev_set_mode()
452 static int adev_set_mic_mute(struct audio_hw_device *dev, bool state) in adev_set_mic_mute()
458 static int adev_get_mic_mute(const struct audio_hw_device *dev, bool *state) in adev_get_mic_mute()
[all …]
/hardware/qcom/audio/msm8909/hal/audio_extn/
Dlisten.c66 typedef int (*open_listen_session_t)(struct audio_hw_device *,
70 typedef int (*close_listen_session_t)(struct audio_hw_device *dev,
73 typedef int (*set_mad_observer_t)(struct audio_hw_device *dev,
76 typedef int (*listen_set_parameters_t)(struct audio_hw_device *dev,
78 typedef char* (*get_parameters_t)(const struct audio_hw_device *dev,
Da2dp.c47 struct audio_hw_device *a2dp_device;
/hardware/intel/audio_media/hdmi/
Dtinyaudio_hw.c115 struct audio_hw_device hw_device;
672 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
784 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
798 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
806 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
815 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
822 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
830 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
838 static int adev_set_mode(struct audio_hw_device *dev, audio_mode_t mode) in adev_set_mode()
846 static int adev_set_mic_mute(struct audio_hw_device *dev, bool state) in adev_set_mic_mute()
[all …]
/hardware/libhardware/modules/usbaudio/
Daudio_hal.c62 struct audio_hw_device hw_device;
472 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
605 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
626 static size_t adev_get_input_buffer_size(const struct audio_hw_device *dev, in adev_get_input_buffer_size()
861 static int adev_open_input_stream(struct audio_hw_device *dev, in adev_open_input_stream()
977 static void adev_close_input_stream(struct audio_hw_device *dev, struct audio_stream_in *stream) in adev_close_input_stream()
992 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
997 static char * adev_get_parameters(const struct audio_hw_device *dev, const char *keys) in adev_get_parameters()
1002 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
1007 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
[all …]
/hardware/bsp/intel/peripheral/audio/generic/
Daudio_hal.c76 struct audio_hw_device hw_device;
581 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
713 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
729 static size_t adev_get_input_buffer_size(const struct audio_hw_device *dev, in adev_get_input_buffer_size()
964 static int adev_open_input_stream(struct audio_hw_device *dev, in adev_open_input_stream()
1076 static void adev_close_input_stream(struct audio_hw_device *dev, struct audio_stream_in *stream) in adev_close_input_stream()
1091 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
1096 static char * adev_get_parameters(const struct audio_hw_device *dev, const char *keys) in adev_get_parameters()
1101 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
1106 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
[all …]
/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp170 struct audio_hw_device device;
315 struct audio_hw_device *device) in audio_hw_device_get_submix_audio_device()
1334 static int adev_open_output_stream(struct audio_hw_device *dev, in audio_config_compare()
1432 static void adev_close_output_stream(struct audio_hw_device *dev, in audio_config_compare()
1436 const_cast<struct audio_hw_device*>(dev)); in audio_config_compare()
1450 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in audio_config_compare()
1457 static char * adev_get_parameters(const struct audio_hw_device *dev, in audio_config_compare()
1465 static int adev_init_check(const struct audio_hw_device *dev) in audio_config_compare()
1472 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in audio_config_compare()
1479 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in audio_config_compare()
[all …]
/hardware/qcom/audio/hal/
Daudio_hw.c2230 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
2455 static void adev_close_output_stream(struct audio_hw_device *dev __unused, in adev_close_output_stream()
2479 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
2552 static char* adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
2572 static int adev_init_check(const struct audio_hw_device *dev __unused) in adev_init_check()
2577 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
2591 static int adev_set_master_volume(struct audio_hw_device *dev __unused, float volume __unused) in adev_set_master_volume()
2596 static int adev_get_master_volume(struct audio_hw_device *dev __unused, in adev_get_master_volume()
2602 static int adev_set_master_mute(struct audio_hw_device *dev __unused, bool muted __unused) in adev_set_master_mute()
2607 static int adev_get_master_mute(struct audio_hw_device *dev __unused, bool *muted __unused) in adev_get_master_mute()
[all …]
Daudio_hw.h240 struct audio_hw_device device;
/hardware/qcom/audio/msm8909/hal/
Daudio_hw.c2592 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
2878 static void adev_close_output_stream(struct audio_hw_device *dev __unused, in adev_close_output_stream()
2913 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
3041 static char* adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
3083 static int adev_init_check(const struct audio_hw_device *dev __unused) in adev_init_check()
3088 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
3099 static int adev_set_master_volume(struct audio_hw_device *dev __unused, in adev_set_master_volume()
3105 static int adev_get_master_volume(struct audio_hw_device *dev __unused, in adev_get_master_volume()
3111 static int adev_set_master_mute(struct audio_hw_device *dev __unused, in adev_set_master_mute()
3117 static int adev_get_master_mute(struct audio_hw_device *dev __unused, in adev_get_master_mute()
[all …]
Daudio_hw.h266 struct audio_hw_device device;