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

/hardware/libhardware/include/hardware/
H A Daudio.h438 struct audio_hw_device { struct
443 * each audio_hw_device implementation.
453 uint32_t (*get_supported_devices)(const struct audio_hw_device *dev);
459 int (*init_check)(const struct audio_hw_device *dev);
462 int (*set_voice_volume)(struct audio_hw_device *dev, float volume);
469 int (*set_master_volume)(struct audio_hw_device *dev, float volume);
478 int (*get_master_volume)(struct audio_hw_device *dev, float *volume);
485 int (*set_mode)(struct audio_hw_device *dev, audio_mode_t mode);
488 int (*set_mic_mute)(struct audio_hw_device *dev, bool state);
489 int (*get_mic_mute)(const struct audio_hw_device *de
[all...]
/hardware/libhardware/modules/audio/
H A Daudio_hw.c32 struct audio_hw_device device;
216 static int adev_open_output_stream(struct audio_hw_device *dev,
258 static void adev_close_output_stream(struct audio_hw_device *dev,
264 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs)
269 static char * adev_get_parameters(const struct audio_hw_device *dev,
275 static int adev_init_check(const struct audio_hw_device *dev)
280 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume)
285 static int adev_set_master_volume(struct audio_hw_device *dev, float volume)
290 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume)
295 static int adev_set_master_mute(struct audio_hw_device *de
[all...]
/hardware/libhardware/modules/usbaudio/
H A Daudio_hw.c45 struct audio_hw_device hw_device;
246 static int adev_open_output_stream(struct audio_hw_device *dev,
299 static void adev_close_output_stream(struct audio_hw_device *dev,
308 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs)
313 static char * adev_get_parameters(const struct audio_hw_device *dev,
319 static int adev_init_check(const struct audio_hw_device *dev)
324 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume)
329 static int adev_set_master_volume(struct audio_hw_device *dev, float volume)
334 static int adev_set_mode(struct audio_hw_device *dev, audio_mode_t mode)
339 static int adev_set_mic_mute(struct audio_hw_device *de
[all...]
/hardware/libhardware/modules/audio_remote_submix/
H A Daudio_hw.cpp63 struct audio_hw_device device;
511 static int adev_open_output_stream(struct audio_hw_device *dev,
593 static void adev_close_output_stream(struct audio_hw_device *dev,
608 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs)
613 static char * adev_get_parameters(const struct audio_hw_device *dev,
619 static int adev_init_check(const struct audio_hw_device *dev)
625 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume)
630 static int adev_set_master_volume(struct audio_hw_device *dev, float volume)
635 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume)
640 static int adev_set_master_mute(struct audio_hw_device *de
[all...]
/hardware/qcom/audio/legacy/alsa_sound/
H A Daudio_hw_hal.cpp39 struct audio_hw_device device;
428 /** audio_hw_device implementation **/
429 static inline struct qcom_audio_device * to_ladev(struct audio_hw_device *dev)
434 static inline const struct qcom_audio_device * to_cladev(const struct audio_hw_device *dev)
439 static int adev_init_check(const struct audio_hw_device *dev)
446 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume)
452 static int adev_set_master_volume(struct audio_hw_device *dev, float volume)
458 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) {
465 static int adev_set_fm_volume(struct audio_hw_device *dev, float volume)
472 static int adev_set_mode(struct audio_hw_device *de
[all...]
/hardware/libhardware_legacy/audio/
H A Daudio_hw_hal.cpp38 struct audio_hw_device device;
407 /** audio_hw_device implementation **/
408 static inline struct legacy_audio_device * to_ladev(struct audio_hw_device *dev)
413 static inline const struct legacy_audio_device * to_cladev(const struct audio_hw_device *dev)
418 static int adev_init_check(const struct audio_hw_device *dev)
425 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume)
431 static int adev_set_master_volume(struct audio_hw_device *dev, float volume)
437 static int adev_get_master_volume(struct audio_hw_device *dev, float* volume)
443 static int adev_set_mode(struct audio_hw_device *dev, audio_mode_t mode)
450 static int adev_set_mic_mute(struct audio_hw_device *de
[all...]
/hardware/qcom/audio/hal/
H A Daudio_hw.h172 struct audio_hw_device device;
H A Daudio_hw.c1836 static int adev_open_output_stream(struct audio_hw_device *dev,
2007 static void adev_close_output_stream(struct audio_hw_device *dev,
2027 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs)
2122 static char* adev_get_parameters(const struct audio_hw_device *dev,
2128 static int adev_init_check(const struct audio_hw_device *dev)
2157 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume)
2169 static int adev_set_master_volume(struct audio_hw_device *dev, float volume)
2174 static int adev_get_master_volume(struct audio_hw_device *dev,
2180 static int adev_set_master_mute(struct audio_hw_device *dev, bool muted)
2185 static int adev_get_master_mute(struct audio_hw_device *de
[all...]

Completed in 6206 milliseconds