Searched refs:musbRecordingHandle (Results 1 – 2 of 2) sorted by relevance
265 err = closeDevice(musbRecordingHandle); in exitRecordingThread()267 ALOGE("Info: Could not close USB recording device %p", musbRecordingHandle); in exitRecordingThread()407 musbRecordingHandle = configureDevice(PCM_IN|channelFlag|PCM_MMAP, (char *)"hw:1,0", in RecordingThreadEntry()409 if (!musbRecordingHandle) { in RecordingThreadEntry()416 pfdUsbRecording[0].fd = musbRecordingHandle->fd; //DEBUG in RecordingThreadEntry()423 closeDevice(musbRecordingHandle); in RecordingThreadEntry()429 bufsize = musbRecordingHandle->period_size; in RecordingThreadEntry()432 frames = (musbRecordingHandle->flags & PCM_MONO) ? (bufsize / 2) : (bufsize / 4); in RecordingThreadEntry()433 x.frames = (musbRecordingHandle->flags & PCM_MONO) ? (bufsize / 2) : (bufsize / 4); in RecordingThreadEntry()437 if (!musbRecordingHandle->running) { in RecordingThreadEntry()[all …]
78 struct pcm *musbRecordingHandle; variable