Lines Matching refs:pcmCard
187 bool AudioHotplugThread::getDeviceInfo(unsigned int pcmCard, in getDeviceInfo() argument
197 kAlsaDeviceDir, pcmCard, pcmDevice, kDeviceTypeCapture); in getDeviceInfo()
215 info->pcmCard = pcmCard; in getDeviceInfo()
226 len = s_get_alsa_card_name(cardName, sizeof(cardName), pcmCard); in getDeviceInfo()
230 …ALOGD("AudioHotplugThread found Android TV remote mic on Card %d, for VOICE_RECOGNITION", pcmCard); in getDeviceInfo()
259 unsigned int pcmCard, pcmDevice; in scanForDevice() local
260 if (parseCaptureDeviceName(entry.d_name, &pcmCard, &pcmDevice)) { in scanForDevice()
261 if (getDeviceInfo(pcmCard, pcmDevice, &deviceInfo)) { in scanForDevice()
346 unsigned int pcmCard, pcmDevice; in threadLoop() local
347 if (parseCaptureDeviceName(name, &pcmCard, &pcmDevice)) { in threadLoop()
363 if (getDeviceInfo(pcmCard, pcmDevice, &deviceInfo)) { in threadLoop()
367 mCallback.onDeviceRemoved(pcmCard, pcmDevice); in threadLoop()