Home
last modified time | relevance | path

Searched refs:snd_card_num (Results 1 – 5 of 5) sorted by relevance

/hardware/qcom/audio/hal/audio_extn/
Dutils.c537 int snd_card_num = 0; in audio_extn_utils_get_snd_card_num() local
547 if (snd_card_num >= MAX_SND_CARD) { in audio_extn_utils_get_snd_card_num()
550 snd_card_num = -1; in audio_extn_utils_get_snd_card_num()
554 snd_card_num = 0; in audio_extn_utils_get_snd_card_num()
559 if (card_verifed[snd_card_num]) { in audio_extn_utils_get_snd_card_num()
560 ++snd_card_num; in audio_extn_utils_get_snd_card_num()
564 mixer = mixer_open(snd_card_num); in audio_extn_utils_get_snd_card_num()
568 snd_card_num); in audio_extn_utils_get_snd_card_num()
569 ++snd_card_num; in audio_extn_utils_get_snd_card_num()
573 card_verifed[snd_card_num] = true; in audio_extn_utils_get_snd_card_num()
[all …]
/hardware/qcom/audio/hal/
Dacdb.c34 int acdb_init(int snd_card_num) in acdb_init() argument
44 if(snd_card_num < 0) { in acdb_init()
49 mixer = mixer_open(snd_card_num); in acdb_init()
52 snd_card_num); in acdb_init()
/hardware/qcom/audio/hal/msm8916/
Dplatform.c1025 int retry_num = 0, snd_card_num = 0, key = 0; in platform_init() local
1044 if (snd_card_num >= MAX_SND_CARD) { in platform_init()
1052 snd_card_num = 0; in platform_init()
1057 if (card_verifed[snd_card_num]) { in platform_init()
1058 ++snd_card_num; in platform_init()
1062 adev->mixer = mixer_open(snd_card_num); in platform_init()
1066 snd_card_num); in platform_init()
1067 ++snd_card_num; in platform_init()
1071 card_verifed[snd_card_num] = true; in platform_init()
1088 adev->audio_route = audio_route_init(snd_card_num, in platform_init()
[all …]
/hardware/qcom/audio/visualizer/
Doffload_visualizer.c149 int snd_card_num; member
343 mixer = mixer_open(capture_config.snd_card_num); in capture_thread_loop()
346 mixer = mixer_open(capture_config.snd_card_num); in capture_thread_loop()
362 pcm = pcm_open(capture_config.snd_card_num, in capture_thread_loop()
453 capture_config.snd_card_num = card_number; in visualizer_hal_start_output()
/hardware/qcom/audio/hal/msm8974/
Dplatform.c1696 int retry_num = 0, snd_card_num = 0, key = 0, ret = 0; in platform_init() local
1719 snd_card_num = audio_extn_utils_get_snd_card_num(); in platform_init()
1720 if (-1 == snd_card_num) { in platform_init()
1725 adev->mixer = mixer_open(snd_card_num); in platform_init()
1779 adev->audio_route = audio_route_init(snd_card_num, mixer_xml_file); in platform_init()
1789 adev->snd_card = snd_card_num; in platform_init()
1790 ALOGD("%s: Opened sound card:%d", __func__, snd_card_num); in platform_init()