Home
last modified time | relevance | path

Searched refs:pcmCard (Results 1 – 5 of 5) sorted by relevance

/device/asus/fugu/libaudio/
DAudioHotplugThread.cpp195 bool AudioHotplugThread::getDeviceInfo(unsigned int pcmCard, in getDeviceInfo() argument
205 kAlsaDeviceDir, pcmCard, pcmDevice, kDeviceTypeCapture); in getDeviceInfo()
223 info->pcmCard = pcmCard; in getDeviceInfo()
234 len = s_get_alsa_card_name(cardName, sizeof(cardName), pcmCard); in getDeviceInfo()
238 …ALOGD("AudioHotplugThread found Android TV remote mic on Card %d, for VOICE_RECOGNITION", pcmCard); in getDeviceInfo()
267 unsigned int pcmCard, pcmDevice; in scanForDevice() local
268 if (parseCaptureDeviceName(entry.d_name, &pcmCard, &pcmDevice)) { in scanForDevice()
269 if (getDeviceInfo(pcmCard, pcmDevice, &deviceInfo)) { in scanForDevice()
354 unsigned int pcmCard, pcmDevice; in threadLoop() local
355 if (parseCaptureDeviceName(name, &pcmCard, &pcmDevice)) { in threadLoop()
[all …]
DAudioHardwareInput.cpp179 DUMP("\tcapture card: %d\n", mDeviceInfos[i].pcmCard); in dump()
206 ALOGD("AudioHardwareInput::onDeviceFound pcmCard = %d", devInfo.pcmCard); in onDeviceFound()
210 if ((mDeviceInfos[i].pcmCard == devInfo.pcmCard) in onDeviceFound()
213 devInfo.pcmCard, devInfo.pcmDevice); in onDeviceFound()
238 void AudioHardwareInput::onDeviceRemoved(unsigned int pcmCard, unsigned int pcmDevice) in onDeviceRemoved() argument
242 ALOGD("AudioHardwareInput::onDeviceRemoved pcmCard = %d", pcmCard); in onDeviceRemoved()
246 if ((mDeviceInfos[i].pcmCard == pcmCard) && (mDeviceInfos[i].pcmDevice == pcmDevice)) { in onDeviceRemoved()
DAudioHotplugThread.h28 unsigned int pcmCard; member
41 virtual void onDeviceRemoved(unsigned int pcmCard, unsigned int pcmDevice) = 0;
54 static bool parseCaptureDeviceName(const char *name, unsigned int *pcmCard,
56 static bool getDeviceInfo(unsigned int pcmCard, unsigned int pcmDevice,
DAudioHardwareInput.h53 virtual void onDeviceRemoved(unsigned int pcmCard, unsigned int pcmDevice);
DAudioStreamIn.cpp358 struct pcm* pcm = pcm_open(deviceInfo->pcmCard, deviceInfo->pcmDevice, in startInputStream_l()