Home
last modified time | relevance | path

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

/hardware/libhardware/include/hardware/
Daudio.h653 struct audio_hw_device { struct
673 uint32_t (*get_supported_devices)(const struct audio_hw_device *dev); argument
679 int (*init_check)(const struct audio_hw_device *dev); argument
682 int (*set_voice_volume)(struct audio_hw_device *dev, float volume); argument
689 int (*set_master_volume)(struct audio_hw_device *dev, float volume); argument
698 int (*get_master_volume)(struct audio_hw_device *dev, float *volume); argument
705 int (*set_mode)(struct audio_hw_device *dev, audio_mode_t mode); argument
708 int (*set_mic_mute)(struct audio_hw_device *dev, bool state); argument
709 int (*get_mic_mute)(const struct audio_hw_device *dev, bool *state); argument
712 int (*set_parameters)(struct audio_hw_device *dev, const char *kv_pairs); argument
[all …]
/hardware/libhardware/modules/audio/
Daudio_hw.c45 struct audio_hw_device device;
352 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
405 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
412 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
418 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
425 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
431 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
437 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
443 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume()
449 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/libhardware/modules/usbaudio/
Daudio_hal.c54 struct audio_hw_device hw_device;
516 static int adev_open_output_stream(struct audio_hw_device *hw_dev, in adev_open_output_stream()
655 static void adev_close_output_stream(struct audio_hw_device *hw_dev, in adev_close_output_stream()
678 static size_t adev_get_input_buffer_size(const struct audio_hw_device *hw_dev, in adev_get_input_buffer_size()
945 static int adev_open_input_stream(struct audio_hw_device *hw_dev, in adev_open_input_stream()
1154 static void adev_close_input_stream(struct audio_hw_device *hw_dev, in adev_close_input_stream()
1179 static int adev_set_parameters(struct audio_hw_device *hw_dev, const char *kvpairs) in adev_set_parameters()
1184 static char * adev_get_parameters(const struct audio_hw_device *hw_dev, const char *keys) in adev_get_parameters()
1189 static int adev_init_check(const struct audio_hw_device *hw_dev) in adev_init_check()
1194 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()
1345 static int adev_open_output_stream(struct audio_hw_device *dev, in audio_config_compare()
1443 static void adev_close_output_stream(struct audio_hw_device *dev, in audio_config_compare()
1447 const_cast<struct audio_hw_device*>(dev)); in audio_config_compare()
1461 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in audio_config_compare()
1468 static char * adev_get_parameters(const struct audio_hw_device *dev, in audio_config_compare()
1476 static int adev_init_check(const struct audio_hw_device *dev) in audio_config_compare()
1483 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in audio_config_compare()
1490 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in audio_config_compare()
[all …]
/hardware/qcom/audio/hal/
Daudio_hw.h363 struct audio_hw_device device;
Daudio_hw.c4829 static int adev_get_microphones(const struct audio_hw_device *dev, in adev_get_microphones()
4918 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
5451 static void adev_close_output_stream(struct audio_hw_device *dev __unused, in adev_close_output_stream()
5485 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
5666 static char* adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
5688 static int adev_init_check(const struct audio_hw_device *dev __unused) in adev_init_check()
5693 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
5707 static int adev_set_master_volume(struct audio_hw_device *dev __unused, float volume __unused) in adev_set_master_volume()
5712 static int adev_get_master_volume(struct audio_hw_device *dev __unused, in adev_get_master_volume()
5718 static int adev_set_master_mute(struct audio_hw_device *dev __unused, bool muted __unused) in adev_set_master_mute()
[all …]