Home
last modified time | relevance | path

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

/hardware/libhardware/include/hardware/
Daudio.h569 struct audio_hw_device { struct
589 uint32_t (*get_supported_devices)(const struct audio_hw_device *dev); argument
595 int (*init_check)(const struct audio_hw_device *dev); argument
598 int (*set_voice_volume)(struct audio_hw_device *dev, float volume); argument
605 int (*set_master_volume)(struct audio_hw_device *dev, float volume); argument
614 int (*get_master_volume)(struct audio_hw_device *dev, float *volume); argument
621 int (*set_mode)(struct audio_hw_device *dev, audio_mode_t mode); argument
624 int (*set_mic_mute)(struct audio_hw_device *dev, bool state); argument
625 int (*get_mic_mute)(const struct audio_hw_device *dev, bool *state); argument
628 int (*set_parameters)(struct audio_hw_device *dev, const char *kv_pairs); argument
[all …]
/hardware/libhardware/modules/audio/
Daudio_hw.c36 struct audio_hw_device device;
293 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
331 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
338 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
344 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
351 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
357 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
363 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
369 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume()
375 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/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.c53 struct audio_hw_device hw_device;
526 static int adev_open_output_stream(struct audio_hw_device *hw_dev, in adev_open_output_stream()
665 static void adev_close_output_stream(struct audio_hw_device *hw_dev, in adev_close_output_stream()
688 static size_t adev_get_input_buffer_size(const struct audio_hw_device *hw_dev, in adev_get_input_buffer_size()
931 static int adev_open_input_stream(struct audio_hw_device *hw_dev, in adev_open_input_stream()
1089 static void adev_close_input_stream(struct audio_hw_device *hw_dev, in adev_close_input_stream()
1108 static int adev_set_parameters(struct audio_hw_device *hw_dev, const char *kvpairs) in adev_set_parameters()
1113 static char * adev_get_parameters(const struct audio_hw_device *hw_dev, const char *keys) in adev_get_parameters()
1118 static int adev_init_check(const struct audio_hw_device *hw_dev) in adev_init_check()
1123 static int adev_set_voice_volume(struct audio_hw_device *hw_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.h303 struct audio_hw_device device;
Daudio_hw.c3673 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
3976 static void adev_close_output_stream(struct audio_hw_device *dev __unused, in adev_close_output_stream()
4007 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
4120 static char* adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
4140 static int adev_init_check(const struct audio_hw_device *dev __unused) in adev_init_check()
4145 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
4159 static int adev_set_master_volume(struct audio_hw_device *dev __unused, float volume __unused) in adev_set_master_volume()
4164 static int adev_get_master_volume(struct audio_hw_device *dev __unused, in adev_get_master_volume()
4170 static int adev_set_master_mute(struct audio_hw_device *dev __unused, bool muted __unused) in adev_set_master_mute()
4175 static int adev_get_master_mute(struct audio_hw_device *dev __unused, bool *muted __unused) in adev_get_master_mute()
[all …]