Home
last modified time | relevance | path

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

/hardware/qcom/audio/hal/audio_extn/
Dutils.c516 int snd_card_num = 0; in audio_extn_utils_get_snd_card_num() local
526 if (snd_card_num >= MAX_SND_CARD) { in audio_extn_utils_get_snd_card_num()
529 snd_card_num = -1; in audio_extn_utils_get_snd_card_num()
533 snd_card_num = 0; in audio_extn_utils_get_snd_card_num()
538 if (card_verifed[snd_card_num]) { in audio_extn_utils_get_snd_card_num()
539 ++snd_card_num; in audio_extn_utils_get_snd_card_num()
543 mixer = mixer_open(snd_card_num); in audio_extn_utils_get_snd_card_num()
547 snd_card_num); in audio_extn_utils_get_snd_card_num()
548 ++snd_card_num; in audio_extn_utils_get_snd_card_num()
552 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.c990 int retry_num = 0, snd_card_num = 0, key = 0; in platform_init() local
1009 if (snd_card_num >= MAX_SND_CARD) { in platform_init()
1017 snd_card_num = 0; in platform_init()
1022 if (card_verifed[snd_card_num]) { in platform_init()
1023 ++snd_card_num; in platform_init()
1027 adev->mixer = mixer_open(snd_card_num); in platform_init()
1031 snd_card_num); in platform_init()
1032 ++snd_card_num; in platform_init()
1036 card_verifed[snd_card_num] = true; in platform_init()
1053 adev->audio_route = audio_route_init(snd_card_num, in platform_init()
[all …]