Home
last modified time | relevance | path

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

/device/asus/fugu/libaudio/
DAudioStreamIn.cpp344 const AudioHotplugThread::DeviceInfo *deviceInfo = mOwnerHAL.getBestDevice(mInputSource); in startInputStream_l() local
345 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 …]
DAudioHotplugThread.cpp248 DeviceInfo deviceInfo; in scanForDevice() local
261 if (getDeviceInfo(pcmCard, pcmDevice, &deviceInfo)) { in scanForDevice()
262 mCallback.onDeviceFound(deviceInfo); in scanForDevice()
362 DeviceInfo deviceInfo; in threadLoop() local
363 if (getDeviceInfo(pcmCard, pcmDevice, &deviceInfo)) { in threadLoop()
364 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);