Lines Matching refs:mDevice
72 mDevice = NULL; in AudioOutput()
85 if (!mDevice) { in initCheck()
89 if (!pcm_is_ready(mDevice)) { in initCheck()
91 ALOGE("PCM error: %s", pcm_get_error(mDevice)); in initCheck()
187 if (NULL != mDevice) in cleanupResources()
188 pcm_close(mDevice); in cleanupResources()
190 mDevice = NULL; in cleanupResources()
198 if (NULL == mDevice) { in openPCMDevice()
227 mDevice = pcm_open(mALSACardID, dev_id, in openPCMDevice()
239 pcm_close(mDevice); in openPCMDevice()
240 mDevice = NULL; in openPCMDevice()
244 mDeviceExtFd = mDevice in openPCMDevice()
245 ? *(reinterpret_cast<int*>(mDevice)) in openPCMDevice()
447 err = pcm_write(mDevice, mStagingBuf, outputSize); in doPCMWrite()
450 err = pcm_write(mDevice, data, len); in doPCMWrite()
459 int err = pcm_write(mDevice, data, len); in doPCMWrite()
516 if (!mDevice) { in getHardwareTimestamp()
520 return pcm_get_htimestamp(mDevice, pAvail, pTimestamp); in getHardwareTimestamp()