Lines Matching refs:mDeviceInfos
52 mDeviceInfos[i].valid = false; in AudioHardwareInput()
177 if (mDeviceInfos[i].valid) { in dump()
179 DUMP("\tcapture card: %d\n", mDeviceInfos[i].pcmCard); in dump()
180 DUMP("\tcapture device: %d\n", mDeviceInfos[i].pcmDevice); in dump()
209 if (mDeviceInfos[i].valid) { in onDeviceFound()
210 if ((mDeviceInfos[i].pcmCard == devInfo.pcmCard) in onDeviceFound()
211 && (mDeviceInfos[i].pcmDevice == devInfo.pcmDevice)) { in onDeviceFound()
221 if (!mDeviceInfos[i].valid) { in onDeviceFound()
223 mDeviceInfos[i] = devInfo; in onDeviceFound()
224 mDeviceInfos[i].valid = true; in onDeviceFound()
245 if (mDeviceInfos[i].valid) { in onDeviceRemoved()
246 if ((mDeviceInfos[i].pcmCard == pcmCard) && (mDeviceInfos[i].pcmDevice == pcmDevice)) { in onDeviceRemoved()
248 mDeviceInfos[i].valid = false; in onDeviceRemoved()
250 standbyAllInputStreams(&mDeviceInfos[i]); in onDeviceRemoved()
270 if (mDeviceInfos[i].valid) { in getBestDevice()
271 if (mDeviceInfos[i].forVoiceRecognition == doVoiceRecognition) { in getBestDevice()
284 return (chosenDeviceIndex >= 0) ? &mDeviceInfos[chosenDeviceIndex] : NULL; in getBestDevice()