Searched refs:mHandle (Results 1 – 7 of 7) sorted by relevance
/hardware/qcom/audio/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() 91 mHandle->module->setLpaVolume(vol); 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() 98 mHandle->module->setCompressedVolume(vol); 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() 123 if((mHandle->handle == NULL) && (mHandle->rxHandle == NULL) && in write() [all …]
|
D | AudioStreamInALSA.cpp | 138 if((mHandle->handle == NULL) && (mHandle->rxHandle == NULL) && in read() 139 (strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) && in read() 140 (strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) { in read() 142 snd_use_case_get(mHandle->ucMgr, "_verb", (const char **)&use_case); in read() 144 if ((mHandle->devices == AudioSystem::DEVICE_IN_VOICE_CALL) && 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() [all …]
|
D | ALSAControl.cpp | 45 mHandle = mixer_open(device); in ALSAControl() 46 ALOGV("ALSAControl: ctor mixer %p", mHandle); in ALSAControl() 51 if (mHandle) mixer_close(mHandle); in ~ALSAControl() 58 if (!mHandle) { in get() 63 ctl = mixer_get_control(mHandle, name, index); in get() 76 if (!mHandle) { in set() 82 ctl = mixer_get_control(mHandle, name, 0); in set() 97 if (!mHandle) { in set() 102 ctl = mixer_get_control(mHandle, name, 0); in set() 116 if (!mHandle) { in setext() [all …]
|
D | ALSAStreamOps.cpp | 50 mHandle(handle) in ALSAStreamOps() 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() 74 if (mHandle == &(*it)) { in ~ALSAStreamOps() 101 if (mHandle->channels != popCount(*channels)) in set() 105 if (mHandle->devices & AudioSystem::DEVICE_OUT_ALL) { in set() 106 switch(mHandle->channels) { in set() 109 *channels |= audio_channel_out_mask_from_count(mHandle->channels); in set() 125 switch(mHandle->channels) { in set() 145 if (mHandle->sampleRate != *rate) in set() [all …]
|
D | AudioHardwareALSA.h | 259 struct mixer* mHandle; variable 285 alsa_handle_t * mHandle; variable
|
/hardware/libhardware_legacy/audio/ |
D | AudioPolicyManagerBase.cpp | 494 if (mHwModules[i]->mHandle == 0) { in getProfileForDirectOutput() 575 output = mpClientInterface->openOutput(profile->mModule->mHandle, in getOutput() 867 if (profile->mModule->mHandle == 0) { in getInput() 880 input = mpClientInterface->openInput(profile->mModule->mHandle, in getInput() 1319 mHwModules[i]->mHandle = mpClientInterface->loadHwModule(mHwModules[i]->mName); in AudioPolicyManagerBase() 1320 if (mHwModules[i]->mHandle == 0) { in AudioPolicyManagerBase() 1334 outProfile->mModule->mHandle, in AudioPolicyManagerBase() 1515 audio_module_handle_t moduleHandle = outputDesc->mModule->mHandle; in threadLoop() 1594 if (mHwModules[i]->mHandle == 0) { in checkOutputsForDevice() 1631 audio_io_handle_t output = mpClientInterface->openOutput(profile->mModule->mHandle, in checkOutputsForDevice() [all …]
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
D | AudioPolicyManagerBase.h | 183 audio_module_handle_t mHandle; variable
|