Home
last modified time | relevance | path

Searched refs:deviceInfo (Results 1 – 4 of 4) sorted by relevance

/device/asus/fugu/libaudio/
DAudioStreamIn.cpp316 const AudioHotplugThread::DeviceInfo *deviceInfo = mOwnerHAL.getBestDevice(mInputSource); in startInputStream_l() local
317 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 …]
DAudioHotplugThread.cpp256 DeviceInfo deviceInfo; in scanForDevice() local
269 if (getDeviceInfo(pcmCard, pcmDevice, &deviceInfo)) { in scanForDevice()
270 mCallback.onDeviceFound(deviceInfo); in scanForDevice()
370 DeviceInfo deviceInfo; in threadLoop() local
371 if (getDeviceInfo(pcmCard, pcmDevice, &deviceInfo)) { in threadLoop()
372 mCallback.onDeviceFound(deviceInfo); in threadLoop()
DAudioHardwareInput.cpp153 void AudioHardwareInput::standbyAllInputStreams(const AudioHotplugThread::DeviceInfo* deviceInfo) in standbyAllInputStreams() argument
156 if (deviceInfo == NULL || deviceInfo == mInputStreams[i]->getDeviceInfo()) { in standbyAllInputStreams()
DAudioHardwareInput.h71 void standbyAllInputStreams(const AudioHotplugThread::DeviceInfo* deviceInfo);