Searched refs:popCount (Results 1 – 7 of 7) sorted by relevance
131 usleep(bytes * 1000000 / sizeof(int16_t) / AudioSystem::popCount(channels()) / sampleRate()); in write()177 usleep(bytes * 1000000 / sizeof(int16_t) / AudioSystem::popCount(channels()) / sampleRate()); in read()
39 if (AudioSystem::popCount(device) != 1) return BAD_VALUE; in setDeviceConnectionState()515 if (AudioSystem::popCount((AudioSystem::audio_devices)device) == 2) { in getOutput()1461 …bool dupUsed = a2dpUsedForSonification() && a2dpWasUsed && (AudioSystem::popCount(prevDevice) == 2… in checkOutputForStrategy()1472 … bool dupUsed = a2dpUsedForSonification() && a2dpIsUsed && (AudioSystem::popCount(curDevice) == 2); in checkOutputForStrategy()1827 if (output == mHardwareOutput && AudioSystem::popCount(device) == 2) { in setOutputDevice()1843 if (output == mHardwareOutput && AudioSystem::popCount(prevDevice) == 2) { in setOutputDevice()1906 if (AudioSystem::popCount(device) > 1) { in getDeviceCategory()1918 LOGW_IF(AudioSystem::popCount(device) != 1, in getDeviceCategory()
141 …uint32_t frameSize() const { return AudioSystem::popCount(channels())*((format()==AudioSystem::… in frameSize()
314 static uint32_t popCount(uint32_t u) { in popCount() function
241 config.channel_count = AudioSystem::popCount(channels()); in write()
1573 mBufferSize = hw->getBufferSize(lRate, AudioSystem::popCount(lChannels)); in set()1618 config.channel_count = AudioSystem::popCount(channels()); in write()1807 mBufferSize = hw->getBufferSize(*pRate, AudioSystem::popCount(*pChannels)); in set()1858 config.channel_count = AudioSystem::popCount(mChannels); in read()
731 config.channel_count = AudioSystem::popCount(channels()); in write()929 config.channel_count = AudioSystem::popCount(*pChannels); in set()