/hardware/qcom/audio/hal/audio_extn/ |
utils.c | 42 snd_device_t snd_device) 69 snd_device_be_idx = platform_get_snd_device_backend_index(snd_device); 123 int pcm_device_id, acdb_dev_id = 0, snd_device = usecase->out_snd_device; local 141 snd_device = usecase->out_snd_device; 144 snd_device = (snd_device == SND_DEVICE_OUT_SPEAKER) ? 145 audio_extn_get_spkr_prot_snd_device(snd_device) : snd_device; 146 acdb_dev_id = platform_get_snd_device_acdb_id(snd_device); 180 snd_device = usecase->in_snd_device [all...] |
/hardware/qcom/audio/hal/ |
platform_info.c | 265 snd_device_t snd_device = SND_DEVICE_NONE; local 272 snd_device = platform_get_snd_device_index((char *)attr[1]); 273 if (snd_device < 0) { 294 platform_add_operator_specific_device(snd_device, (char *)attr[3], (char *)attr[5], atoi((char *)attr[7]));
|
audio_hw.c | 553 snd_device_t snd_device; local 562 snd_device = usecase->in_snd_device; 564 snd_device = usecase->out_snd_device; 569 platform_add_backend_name(adev->platform, mixer_path, snd_device); 580 snd_device_t snd_device; local 588 snd_device = usecase->in_snd_device; 590 snd_device = usecase->out_snd_device; 592 platform_add_backend_name(adev->platform, mixer_path, snd_device); 601 snd_device_t snd_device) 606 if (snd_device < SND_DEVICE_MIN | 4625 snd_device_t snd_device; local [all...] |
/hardware/qcom/audio/hal/msm8960/ |
platform.c | 389 const char *platform_get_snd_device_name(snd_device_t snd_device) 391 if (snd_device >= SND_DEVICE_MIN && snd_device < SND_DEVICE_MAX) 392 return device_table[snd_device]; 398 snd_device_t snd_device) 400 if (snd_device == SND_DEVICE_IN_BT_SCO_MIC) 402 else if(snd_device == SND_DEVICE_OUT_BT_SCO) 404 else if (snd_device == SND_DEVICE_OUT_HDMI) 406 else if (snd_device == SND_DEVICE_OUT_SPEAKER_AND_HDMI) 408 else if (snd_device == SND_DEVICE_OUT_BT_SCO_WB | 631 snd_device_t snd_device = SND_DEVICE_NONE; local 733 snd_device_t snd_device = SND_DEVICE_NONE; local [all...] |
/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...] |
/hardware/qcom/audio/hal/msm8916/ |
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]) { 598 static int get_operator_specific_device_acdb_id(snd_device_t snd_device) 601 int ret = acdb_device_table[snd_device]; 603 device = get_operator_specific_device(snd_device); 610 static const char *get_operator_specific_device_mixer_path(snd_device_t snd_device) 613 const char *ret = device_table[snd_device]; 615 device = get_operator_specific_device(snd_device); 631 snd_device_t snd_device = SND_DEVICE_NONE; local 641 snd_device = platform_get_output_snd_device(adev->platform, out_device) 1558 snd_device_t snd_device = SND_DEVICE_NONE; local 1691 snd_device_t snd_device = SND_DEVICE_NONE; local [all...] |
/hardware/qcom/audio/hal/msm8974/ |
platform.c | 675 static struct operator_specific_device *get_operator_specific_device(snd_device_t snd_device) 686 list_for_each(node, operator_specific_device_table[snd_device]) { 697 static int get_operator_specific_device_acdb_id(snd_device_t snd_device) 700 int ret = acdb_device_table[snd_device]; 702 device = get_operator_specific_device(snd_device); 709 static const char *get_operator_specific_device_mixer_path(snd_device_t snd_device) 712 const char *ret = device_table[snd_device]; 714 device = get_operator_specific_device(snd_device); 799 snd_device_t snd_device = SND_DEVICE_NONE; local 809 snd_device = platform_get_output_snd_device(adev->platform, out_device) 1863 int snd_device = SND_DEVICE_OUT_SPEAKER; local 2289 snd_device_t snd_device = SND_DEVICE_NONE; local 2470 snd_device_t snd_device = SND_DEVICE_NONE; local [all...] |