/hardware/qcom/audio/hal/audio_extn/ |
dsm_feedback.c | 90 snd_device_t snd_device, 96 if( snd_device == SND_DEVICE_OUT_SPEAKER || 97 snd_device == SND_DEVICE_OUT_SPEAKER_REVERSE || 98 snd_device == SND_DEVICE_OUT_VOICE_SPEAKER || 99 snd_device == SND_DEVICE_OUT_SPEAKER_SAFE || 100 snd_device == SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES || 101 snd_device == SND_DEVICE_OUT_SPEAKER_AND_LINE || 102 snd_device == SND_DEVICE_OUT_SPEAKER_SAFE_AND_HEADPHONES || 103 snd_device == SND_DEVICE_OUT_SPEAKER_SAFE_AND_LINE )
|
audio_extn.h | 40 #define audio_extn_spkr_prot_start_processing(snd_device) (-EINVAL) 42 #define audio_extn_spkr_prot_stop_processing(snd_device) (0) 44 #define audio_extn_spkr_prot_get_acdb_id(snd_device) (-EINVAL) 45 #define audio_extn_get_spkr_prot_snd_device(snd_device) (snd_device) 48 int audio_extn_spkr_prot_start_processing(snd_device_t snd_device); 49 void audio_extn_spkr_prot_stop_processing(snd_device_t snd_device); 51 int audio_extn_spkr_prot_get_acdb_id(snd_device_t snd_device); 52 int audio_extn_get_spkr_prot_snd_device(snd_device_t snd_device); 90 void audio_extn_sound_trigger_update_device_status(snd_device_t snd_device, [all...] |
soundtrigger.c | 209 void audio_extn_sound_trigger_update_device_status(snd_device_t snd_device, 217 if (snd_device >= SND_DEVICE_OUT_BEGIN && 218 snd_device < SND_DEVICE_OUT_END) { 220 } else if (snd_device >= SND_DEVICE_IN_BEGIN && 221 snd_device < SND_DEVICE_IN_END) { 222 if (snd_device == SND_DEVICE_IN_CAPTURE_VI_FEEDBACK) 227 __func__, snd_device, event); 232 __func__, snd_device, device_type, event); 243 __func__, event, snd_device);
|
spkr_protection.c | 769 int audio_extn_spkr_prot_get_acdb_id(snd_device_t snd_device) 773 switch(snd_device) { 787 int audio_extn_get_spkr_prot_snd_device(snd_device_t snd_device) 790 return snd_device; 792 switch(snd_device) { 798 return snd_device; 802 int audio_extn_spkr_prot_start_processing(snd_device_t snd_device) 813 snd_device = audio_extn_get_spkr_prot_snd_device(snd_device); 819 ALOGV("%s: snd_device(%d: %s)", __func__, snd_device [all...] |
/hardware/qcom/audio/hal/msm8916/ |
platform.c | 555 static struct operator_specific_device *get_operator_specific_device(snd_device_t snd_device) 566 list_for_each(node, operator_specific_device_table[snd_device]) { 576 static int get_operator_specific_device_acdb_id(snd_device_t snd_device) 579 int ret = acdb_device_table[snd_device]; 581 device = get_operator_specific_device(snd_device); 588 static const char *get_operator_specific_device_mixer_path(snd_device_t snd_device) 591 const char *ret = device_table[snd_device]; 593 device = get_operator_specific_device(snd_device); 609 snd_device_t snd_device = SND_DEVICE_NONE; local 619 snd_device = platform_get_output_snd_device(adev->platform, out_device) 1463 snd_device_t snd_device = SND_DEVICE_NONE; local 1596 snd_device_t snd_device = SND_DEVICE_NONE; local [all...] |
hw_info.c | 98 void hw_info_append_hw_type(void *hw_info, snd_device_t snd_device, 112 if (snd_device == (snd_device_t)snd_devices[i]) {
|
/hardware/qcom/audio/hal/ |
platform_api.h | 33 const char *platform_get_snd_device_name(snd_device_t snd_device); 34 int platform_get_snd_device_name_extn(void *platform, snd_device_t snd_device, 37 snd_device_t snd_device); 41 int platform_set_snd_device_acdb_id(snd_device_t snd_device, unsigned int acdb_id); 42 int platform_get_snd_device_acdb_id(snd_device_t snd_device); 43 int platform_send_audio_calibration(void *platform, snd_device_t snd_device); 58 snd_device_t snd_device, 67 void platform_add_operator_specific_device(snd_device_t snd_device, 92 int platform_set_snd_device_backend(snd_device_t snd_device, const char * backend, 112 struct audio_usecase *usecase, snd_device_t snd_device); [all...] |
audio_hw.c | 537 snd_device_t snd_device; local 546 snd_device = usecase->in_snd_device; 548 snd_device = usecase->out_snd_device; 551 platform_add_backend_name(adev->platform, mixer_path, snd_device); 562 snd_device_t snd_device; local 570 snd_device = usecase->in_snd_device; 572 snd_device = usecase->out_snd_device; 574 platform_add_backend_name(adev->platform, mixer_path, snd_device); 583 snd_device_t snd_device) 588 if (snd_device < SND_DEVICE_MIN | 3531 snd_device_t snd_device; local [all...] |
platform_info.c | 256 snd_device_t snd_device = SND_DEVICE_NONE; local 263 snd_device = platform_get_snd_device_index((char *)attr[1]); 264 if (snd_device < 0) { 285 platform_add_operator_specific_device(snd_device, (char *)attr[3], (char *)attr[5], atoi((char *)attr[7]));
|
audio_hw.h | 347 snd_device_t snd_device); 350 snd_device_t snd_device);
|
/hardware/qcom/audio/hal/msm8960/ |
platform.c | 379 const char *platform_get_snd_device_name(snd_device_t snd_device) 381 if (snd_device >= SND_DEVICE_MIN && snd_device < SND_DEVICE_MAX) 382 return device_table[snd_device]; 388 snd_device_t snd_device) 390 if (snd_device == SND_DEVICE_IN_BT_SCO_MIC) 392 else if(snd_device == SND_DEVICE_OUT_BT_SCO) 394 else if (snd_device == SND_DEVICE_OUT_HDMI) 396 else if (snd_device == SND_DEVICE_OUT_SPEAKER_AND_HDMI) 398 else if (snd_device == SND_DEVICE_OUT_BT_SCO_WB | 614 snd_device_t snd_device = SND_DEVICE_NONE; local 716 snd_device_t snd_device = SND_DEVICE_NONE; local [all...] |
/hardware/qcom/audio/hal/msm8974/ |
platform.c | 577 static struct operator_specific_device *get_operator_specific_device(snd_device_t snd_device) 588 list_for_each(node, operator_specific_device_table[snd_device]) { 599 static int get_operator_specific_device_acdb_id(snd_device_t snd_device) 602 int ret = acdb_device_table[snd_device]; 604 device = get_operator_specific_device(snd_device); 611 static const char *get_operator_specific_device_mixer_path(snd_device_t snd_device) 614 const char *ret = device_table[snd_device]; 616 device = get_operator_specific_device(snd_device); 680 snd_device_t snd_device = SND_DEVICE_NONE; local 690 snd_device = platform_get_output_snd_device(adev->platform, out_device) 1913 snd_device_t snd_device = SND_DEVICE_NONE; local 2049 snd_device_t snd_device = SND_DEVICE_NONE; local [all...] |
hw_info.c | 127 void hw_info_append_hw_type(void *hw_info, snd_device_t snd_device, 141 if (snd_device == (snd_device_t)snd_devices[i]) {
|
/device/google/dragon/audio/hal/ |
audio_hw.c | 364 const char *get_snd_device_name(snd_device_t snd_device) 368 if (snd_device >= SND_DEVICE_MIN && snd_device < SND_DEVICE_MAX) 369 name = device_table[snd_device]; 371 ALOGE_IF(name == NULL, "%s: invalid snd device %d", __func__, snd_device); 376 const char *get_snd_device_display_name(snd_device_t snd_device) 378 const char *name = get_snd_device_name(snd_device); 449 snd_device_t snd_device = SND_DEVICE_NONE; local 462 snd_device = SND_DEVICE_OUT_VOICE_TTY_FULL_HEADPHONES; 464 snd_device = SND_DEVICE_OUT_VOICE_TTY_VCO_HEADPHONES 521 snd_device_t snd_device = SND_DEVICE_NONE; local [all...] |
/device/htc/flounder/audio/hal/ |
audio_hw.c | 396 static const char *get_snd_device_name(snd_device_t snd_device) 400 if (snd_device >= SND_DEVICE_MIN && snd_device < SND_DEVICE_MAX) 401 name = device_table[snd_device]; 403 ALOGE_IF(name == NULL, "%s: invalid snd device %d", __func__, snd_device); 408 static const char *get_snd_device_display_name(snd_device_t snd_device) 410 const char *name = get_snd_device_name(snd_device); 476 snd_device_t snd_device = SND_DEVICE_NONE; local 489 snd_device = SND_DEVICE_OUT_VOICE_TTY_FULL_HEADPHONES; 491 snd_device = SND_DEVICE_OUT_VOICE_TTY_VCO_HEADPHONES 552 snd_device_t snd_device = SND_DEVICE_NONE; local [all...] |