Searched refs:deviceInfo (Results 1 – 4 of 4) sorted by relevance
344 const AudioHotplugThread::DeviceInfo *deviceInfo = mOwnerHAL.getBestDevice(mInputSource); in startInputStream_l() local345 if (deviceInfo == NULL) { in startInputStream_l()354 if (requestedChannelCount < deviceInfo->minChannelCount ) { in startInputStream_l()355 mPcmConfig.channels = deviceInfo->minChannelCount; in startInputStream_l()356 } else if (requestedChannelCount > deviceInfo->maxChannelCount ) { in startInputStream_l()357 mPcmConfig.channels = deviceInfo->maxChannelCount; in startInputStream_l()367 if (chosenSampleRate < deviceInfo->minSampleRate) { in startInputStream_l()368 chosenSampleRate = deviceInfo->minSampleRate; in startInputStream_l()369 } else if (chosenSampleRate > deviceInfo->maxSampleRate) { in startInputStream_l()370 chosenSampleRate = deviceInfo->maxSampleRate; in startInputStream_l()[all …]
248 DeviceInfo deviceInfo; in scanForDevice() local261 if (getDeviceInfo(pcmCard, pcmDevice, &deviceInfo)) { in scanForDevice()262 mCallback.onDeviceFound(deviceInfo); in scanForDevice()362 DeviceInfo deviceInfo; in threadLoop() local363 if (getDeviceInfo(pcmCard, pcmDevice, &deviceInfo)) { in threadLoop()364 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);