Searched refs:deviceInfo (Results 1 – 4 of 4) sorted by relevance
316 const AudioHotplugThread::DeviceInfo *deviceInfo = mOwnerHAL.getBestDevice(mInputSource); in startInputStream_l() local317 if (deviceInfo == NULL) { in startInputStream_l()326 if (requestedChannelCount < deviceInfo->minChannelCount ) { in startInputStream_l()327 mPcmConfig.channels = deviceInfo->minChannelCount; in startInputStream_l()328 } else if (requestedChannelCount > deviceInfo->maxChannelCount ) { in startInputStream_l()329 mPcmConfig.channels = deviceInfo->maxChannelCount; in startInputStream_l()339 if (chosenSampleRate < deviceInfo->minSampleRate) { in startInputStream_l()340 chosenSampleRate = deviceInfo->minSampleRate; in startInputStream_l()341 } else if (chosenSampleRate > deviceInfo->maxSampleRate) { in startInputStream_l()342 chosenSampleRate = deviceInfo->maxSampleRate; in startInputStream_l()[all …]
256 DeviceInfo deviceInfo; in scanForDevice() local269 if (getDeviceInfo(pcmCard, pcmDevice, &deviceInfo)) { in scanForDevice()270 mCallback.onDeviceFound(deviceInfo); in scanForDevice()370 DeviceInfo deviceInfo; in threadLoop() local371 if (getDeviceInfo(pcmCard, pcmDevice, &deviceInfo)) { in threadLoop()372 mCallback.onDeviceFound(deviceInfo); in threadLoop()
153 void AudioHardwareInput::standbyAllInputStreams(const AudioHotplugThread::DeviceInfo* deviceInfo) in standbyAllInputStreams() argument156 if (deviceInfo == NULL || deviceInfo == mInputStreams[i]->getDeviceInfo()) { in standbyAllInputStreams()
71 void standbyAllInputStreams(const AudioHotplugThread::DeviceInfo* deviceInfo);