Searched refs:popCount (Results 1 - 6 of 6) sorted by relevance

/hardware/libhardware_legacy/audio/
H A DAudioHardwareStub.cpp131 usleep(bytes * 1000000 / sizeof(int16_t) / AudioSystem::popCount(channels()) / sampleRate());
177 usleep(bytes * 1000000 / sizeof(int16_t) / AudioSystem::popCount(channels()) / sampleRate());
H A DAudioPolicyManagerBase.cpp711 int commonFlags = (int)AudioSystem::popCount(outputDesc->mProfile->mFlags & flags);
2548 bool shouldMute = outputDesc->isActive() && (AudioSystem::popCount(device) >= 2);
2768 } else if (AudioSystem::popCount(device) > 1) {
2781 ALOGW_IF(AudioSystem::popCount(device) != 1,
/hardware/qcom/audio/legacy/alsa_sound/
H A DALSAStreamOps.cpp84 static inline uint32_t popCount(uint32_t u) function in namespace:android_audio_legacy
101 if (mHandle->channels != popCount(*channels))
H A DAudioHardwareALSA.cpp859 alsa_handle.channels = AudioSystem::popCount(*channels);
897 ALOGD("channels: %d", AudioSystem::popCount(*channels));
1192 it->channels = AudioSystem::popCount(*channels);
1311 it->channels = AudioSystem::popCount((*channels) &
/hardware/libhardware_legacy/include/hardware_legacy/
H A DAudioHardwareInterface.h148 uint32_t frameSize() const { return AudioSystem::popCount(channels())*((format()==AudioSystem::PCM_16_BIT)?sizeof(int16_t):sizeof(int8_t)); }
H A DAudioSystemLegacy.h319 static uint32_t popCount(uint32_t u) { function in class:android_audio_legacy::AudioSystem

Completed in 27 milliseconds