Home
last modified time | relevance | path

Searched refs:snd_card_num (Results 1 – 6 of 6) 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
549 if (snd_card_num >= MAX_SND_CARD) { in audio_extn_utils_get_snd_card_num()
552 snd_card_num = -1; in audio_extn_utils_get_snd_card_num()
556 snd_card_num = 0; in audio_extn_utils_get_snd_card_num()
561 if (card_verifed[snd_card_num]) { in audio_extn_utils_get_snd_card_num()
562 ++snd_card_num; in audio_extn_utils_get_snd_card_num()
566 mixer = mixer_open(snd_card_num); in audio_extn_utils_get_snd_card_num()
570 snd_card_num); in audio_extn_utils_get_snd_card_num()
571 ++snd_card_num; in audio_extn_utils_get_snd_card_num()
575 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.c1043 int retry_num = 0, snd_card_num = 0, key = 0; in platform_init() local
1062 if (snd_card_num >= MAX_SND_CARD) { in platform_init()
1070 snd_card_num = 0; in platform_init()
1075 if (card_verifed[snd_card_num]) { in platform_init()
1076 ++snd_card_num; in platform_init()
1080 adev->mixer = mixer_open(snd_card_num); in platform_init()
1084 snd_card_num); in platform_init()
1085 ++snd_card_num; in platform_init()
1089 card_verifed[snd_card_num] = true; in platform_init()
1106 adev->audio_route = audio_route_init(snd_card_num, in platform_init()
[all …]
/hardware/knowles/athletico/sound_trigger_hal/
Dsound_trigger_hw_iaxxx.c3396 int retry_num = 0, snd_card_num = 0, ret = -1; in find_sound_card() local
3405 if (snd_card_num >= MAX_SND_CARD) { in find_sound_card()
3410 snd_card_num = 0; in find_sound_card()
3414 if (card_verifed[snd_card_num]) { in find_sound_card()
3415 snd_card_num++; in find_sound_card()
3419 mixer = mixer_open(snd_card_num); in find_sound_card()
3421 snd_card_num++; in find_sound_card()
3428 __func__, snd_card_num, snd_card_name); in find_sound_card()
3429 ret = snd_card_num; in find_sound_card()
3436 card_verifed[snd_card_num] = true; in find_sound_card()
[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.c1715 int retry_num = 0, snd_card_num = 0, key = 0, ret = 0; in platform_init() local
1738 snd_card_num = audio_extn_utils_get_snd_card_num(); in platform_init()
1739 if (-1 == snd_card_num) { in platform_init()
1744 adev->mixer = mixer_open(snd_card_num); in platform_init()
1798 adev->audio_route = audio_route_init(snd_card_num, mixer_xml_file); in platform_init()
1808 adev->snd_card = snd_card_num; in platform_init()
1809 ALOGD("%s: Opened sound card:%d", __func__, snd_card_num); in platform_init()