/hardware/qcom/audio/legacy/alsa_sound/ |
D | AudioStreamOutALSA.cpp | 87 if(!strcmp(mHandle->useCase, SND_USE_CASE_VERB_HIFI_LOW_POWER) || in setVolume() 88 !strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_LPA)) { in setVolume() 94 else if(!strcmp(mHandle->useCase, SND_USE_CASE_VERB_HIFI_TUNNEL) || in setVolume() 95 !strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_TUNNEL)) { in setVolume() 101 else if(!strncmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL, in setVolume() 102 sizeof(mHandle->useCase)) || !strncmp(mHandle->useCase, in setVolume() 103 SND_USE_CASE_MOD_PLAY_VOIP, sizeof(mHandle->useCase))) { in setVolume() 124 (strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) && in write() 125 (strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) { in write() 128 ALOGD("mHandle->useCase: %s", mHandle->useCase); in write() [all …]
|
D | AudioStreamInALSA.cpp | 92 … if (!strncmp(handle->useCase, SND_USE_CASE_VERB_HIFI_REC, strlen(SND_USE_CASE_VERB_HIFI_REC)) in AudioStreamInALSA() 93 …|| !strncmp(handle->useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC, strlen(SND_USE_CASE_MOD_CAPTURE_MUSIC… in AudioStreamInALSA() 139 (strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) && in read() 140 (strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) { in read() 152 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE, in read() 153 sizeof(mHandle->useCase)); in read() 158 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE_UL_DL, in read() 159 sizeof(mHandle->useCase)); in read() 165 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE, in read() 166 sizeof(mHandle->useCase)); in read() [all …]
|
D | alsa_default.cpp | 200 int getUseCaseType(const char *useCase); 226 strlcat(ident, handle->useCase, sizeof(ident)); in deviceName() 284 … if (!strncmp(handle->useCase, SND_USE_CASE_VERB_HIFI_REC, strlen(SND_USE_CASE_VERB_HIFI_REC)) in setHardwareParams() 285 …|| !strncmp(handle->useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC, strlen(SND_USE_CASE_MOD_CAPTURE_MUSIC… in setHardwareParams() 286 ALOGV("HWParams: Use 4 channels in kernel for 5.1(%s) recording ", handle->useCase); in setHardwareParams() 334 if (strcmp(handle->useCase, SND_USE_CASE_VERB_HIFI_REC) && in setHardwareParams() 335 strcmp(handle->useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC) && in setHardwareParams() 360 … if (!strncmp(handle->useCase, SND_USE_CASE_VERB_HIFI_REC, strlen(SND_USE_CASE_VERB_HIFI_REC)) in setSoftwareParams() 361 …|| !strncmp(handle->useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC, strlen(SND_USE_CASE_MOD_CAPTURE_MUSIC… in setSoftwareParams() 362 ALOGV("SWParams: Use 4 channels in kernel for 5.1(%s) recording ", handle->useCase); in setSoftwareParams() [all …]
|
D | AudioHardwareALSA.cpp | 218 it->useCase[0] = 0; in ~AudioHardwareALSA() 656 if((!strcmp(it->useCase, SND_USE_CASE_VERB_HIFI_LOW_POWER)) || in doRouting() 657 (!strcmp(it->useCase, SND_USE_CASE_MOD_PLAY_LPA))) { in doRouting() 662 } else if((!strcmp(it->useCase, SND_USE_CASE_VERB_VOICECALL)) || in doRouting() 663 (!strcmp(it->useCase, SND_USE_CASE_MOD_PLAY_VOICE))) { in doRouting() 670 }else if((!strcmp(it->useCase, SND_USE_CASE_VERB_DIGITAL_RADIO)) || in doRouting() 671 (!strcmp(it->useCase, SND_USE_CASE_MOD_PLAY_FM))) { in doRouting() 751 if((!strcmp(it->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) || in openOutputStream() 752 (!strcmp(it->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) { in openOutputStream() 791 … strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_IP_VOICECALL, sizeof(alsa_handle.useCase)); in openOutputStream() [all …]
|
D | ALSAStreamOps.cpp | 58 if((!strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) || in ~ALSAStreamOps() 59 (!strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) { in ~ALSAStreamOps() 75 it->useCase[0] = 0; in ~ALSAStreamOps() 252 …if((!strncmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL, strlen(SND_USE_CASE_VERB_IP_VOICECA… in getParameters() 253 … (!strncmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP, strlen(SND_USE_CASE_MOD_PLAY_VOIP)))) in getParameters() 351 …if((!strncmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL, strlen(SND_USE_CASE_VERB_IP_VOICECA… in close() 352 … (!strncmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP, strlen(SND_USE_CASE_MOD_PLAY_VOIP)))) { in close()
|
D | AudioHardwareALSA.h | 169 char useCase[MAX_STR_LEN]; member 186 char useCase[MAX_STR_LEN]; member
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
D | alsa_ucm.c | 877 int getUseCaseType(const char *useCase) in getUseCaseType() argument 879 ALOGV("getUseCaseType: use case is %s\n", useCase); in getUseCaseType() 880 if (!strncmp(useCase, SND_USE_CASE_VERB_HIFI, in getUseCaseType() 881 MAX_LEN(useCase,SND_USE_CASE_VERB_HIFI)) || in getUseCaseType() 882 !strncmp(useCase, SND_USE_CASE_VERB_HIFI_LOWLATENCY_MUSIC, in getUseCaseType() 883 MAX_LEN(useCase,SND_USE_CASE_VERB_HIFI_LOWLATENCY_MUSIC)) || in getUseCaseType() 884 !strncmp(useCase, SND_USE_CASE_VERB_HIFI_LOW_POWER, in getUseCaseType() 885 MAX_LEN(useCase,SND_USE_CASE_VERB_HIFI_LOW_POWER)) || in getUseCaseType() 886 !strncmp(useCase, SND_USE_CASE_VERB_HIFI_TUNNEL, in getUseCaseType() 887 MAX_LEN(useCase,SND_USE_CASE_VERB_HIFI_TUNNEL)) || in getUseCaseType() [all …]
|
/hardware/interfaces/audio/common/all-versions/default/ |
D | HidlUtils.cpp | 164 config->ext.mix.useCase.stream = AudioStreamType(halConfig.ext.mix.usecase.stream); in audioPortConfigFromHal() 166 config->ext.mix.useCase.source = AudioSource(halConfig.ext.mix.usecase.source); in audioPortConfigFromHal() 203 static_cast<audio_stream_type_t>(config.ext.mix.useCase.stream); in audioPortConfigToHal() 206 static_cast<audio_source_t>(config.ext.mix.useCase.source); in audioPortConfigToHal()
|
/hardware/interfaces/audio/common/4.0/ |
D | types.hal | 845 } useCase;
|
/hardware/interfaces/audio/common/2.0/ |
D | types.hal | 885 } useCase;
|
/hardware/interfaces/audio/common/6.0/ |
D | types.hal | 980 } useCase;
|
/hardware/interfaces/audio/common/5.0/ |
D | types.hal | 974 } useCase;
|